All Frameworks  Class Hierarchy  This Framework  Indexes   

ObjectModelerSystem Class 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()
o sequence(CATLONG32,CATLONG32)
Constructs an empty sequence with a given size of data.
o sequence(sequence&,CATLONG32)
Copy Constructor.
o sequence(CATLONG32,void*,CATLONG32)
Constructs an sequence of a given size of data from a data.

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()
o sequence
public sequence( iMax,
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( const iFrom,
iItemSize)
Copy Constructor.
Parameters:
iFrom
sequence to copy.
iItemSize
size of data to copy.
o sequence
public sequence( iMax,
const iData,
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.

Methods


o copy
public copy( const iFrom,
iItemSize=1)
Copies a sequence in this one.
Parameters:
iFrom
sequence to copy.
iItemSize
size of data to copy.
o length
public length()
Gets sequence's size.
o length
public length( iNewLength)
Modifies sequence length if iNewLength is smaller than max.
o max
public max()
Gets sequence's max size.
o max
public max( newMax,
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.