Navigation:  C/C++ Scripting Engine > Classes >

dbObjectArray

Previous pageReturn to chapter overviewNext page

Class to store an array of database objects.  Database objects are essentially any object type found in Fab3000

bar_dot

 

Class Functions:

==============

 

void append( dbObject value )

Add a dbObject to the end of the array.

 

void prepend( dbObject value )

Add a dbObject to the front of the array.

 

void clear()

Remove all dbObject's stored in the array.

 

int no()

Returns the total count of dbObject's in the array.

 

int find( dbObject value )

Return the index in the array for the dbObject "value".  If it cannot find the dbObject, -1 is returned.

 

int rfind( dbObject value )

Return the index in the array for the dbObject "value".  If it cannot find the dbObject, -1 is returned. Begins search from back-to-front.

 

void insert( int pos, dbObject value )

Insert dbObject value into array at specified position

 

void remove( int pos )

Remove stored dbObject at specified position.

 

int index( int pos )

Return dbObject value at specified position.