tsc_CustomRecordArray

Available in SC version 2.10 and higher.

This class holds an array of custom sub-records as obtained from a tsc_Entity object.  If the entity has no custom sub-records, then the Count() method of this class will return zero.

Public constructors

tsc_CustomRecordArray (const tsc_CustomRecordArray& from);
Copy constructor, creates a reference to the same array.

Public methods

tsc_DatabaseCustomXml operator[] (int index);
The subscript operator returns the nth custom sub-record in the array.  A new tsc_DatabaseCustomXml is instantiated by this operator; multiple calls will make multiple different objects, and modifying one will not affect the others.

tsc_DatabaseCustomXml AtIndex (int index);
This method returns the nth custom record in the array. A new tsc_DatabaseCustomXml is instantiated by this function; multiple calls will make multiple different objects, and modifying one will not affect the others.

int Count ();
Returns the number of items in the array.

tsc_CustomRecordArray& operator= (const tsc_CustomRecordArray& from);
Assignment returns a new reference to the same array.