All Frameworks  Class Hierarchy  This Framework  Previous  Indexes

ObjectModelerSystem Class sequence

sequence
 

Usage: you must use this class as is. You should never derive it.


public class sequence

Class to define sequence.


Constructor and Destructor Index


o sequence()
Constructs an empty sequence.
o sequence(CATLONG32,CATLONG32)
Constructs an empty sequence with a given size of data.
o sequence(CATLONG32,void*,CATLONG32)
Constructs an sequence of a given size of data from a data.
o sequence(sequence&,CATLONG32)
Copy Constructor.
o ~sequence()

Method Index


o copy(sequence&,CATLONG32)
Copies a sequence in this one.
o length()
Gets sequence's size.
o length(CATLONG32)
Modifies sequence length if iNewLength is smaller than max.
o max()
Gets sequence's max size.
o max(CATLONG32,CATLONG32)
Modifies max length of a sequence.

Constructor and Destructor


o sequence
public sequence()
Constructs an empty sequence.
o sequence
public sequence(CATLONG32 iMax,
CATLONG32 iItemSize=1)
Constructs an empty sequence with a given size of data.
Parameters:
iMax
sequence max size ( iMax*iItemSize)
iItemSize
size of items defining the sequence.
o sequence
public sequence(CATLONG32 iMax,
const void* iData,
CATLONG32 iItemSize=1)
Constructs an sequence of a given size of data from a data.
Parameters:
iMax
sequence max size ( iMax*iItemSize)
iItemSize
size of items defining the sequence.
o sequence
public sequence( const sequence& iFrom,
CATLONG32 iItemSize)
Copy Constructor.
Parameters:
iFrom
sequence to copy.
iItemSize
size of data to copy.
o ~sequence
public ~sequence()

Methods


o copy
public sequence& copy( const sequence& iFrom,
CATLONG32 iItemSize=1)
Copies a sequence in this one.
Parameters:
iFrom
sequence to copy.
iItemSize
size of data to copy.
o length
public CATLONG32 length()const
Gets sequence's size.
o length
public CATLONG32 length(CATLONG32 iNewLength)
Modifies sequence length if iNewLength is smaller than max.
o max
public CATLONG32 max()const
Gets sequence's max size.
o max
public CATLONG32 max(CATLONG32 newMax,
CATLONG32 itemSize=1)
Modifies max length of a sequence.

This object is included in the file: sequence.h
If needed, your Imakefile.mk should include the module: ObjectModelerSystem

Copyright © 2003, Dassault Systèmes. All rights reserved.