imAttribArray Class Reference
[Utilities]
Detailed Description
- Same as imAttribTable, but uses an array of fixed size.
Public Member Functions | |
imAttribArray (int count) | |
~imAttribArray () | |
int | Count () const |
void | RemoveAll () |
void | CopyFrom (const imAttribArray &table) |
void | Set (int index, const char *name, int data_type, int count, const void *data) |
const void * | Get (int index, char *name=0, int *data_type=0, int *count=0) const |
void | ForEach (void *user_data, imAttribTableCallback attrib_func) const |
Constructor & Destructor Documentation
|
Creates an empty array.
|
|
Destroys the array and all the attributes.
|
Member Function Documentation
|
Returns the number of elements in the array.
|
|
Removes all the attributes in the array
|
|
Copies the contents of the given table into this table. 00096 { imAttribArrayCopyFrom(ptable, table.ptable); }
|
|
Inserts an attribute into the array.
|
|
Finds an attribute in the array. Returns the attribute if found, NULL otherwise.
|
|
For each attribute calls the user callback. If the callback returns 0 the function returns.
|
The documentation for this class was generated from the following file: