Rudiments
|
#include <table.h>
Inherits tablecollection< valuetype >.
The table class allows you to store an arbitrary number of values in a table. Since the table class is template-based, you can store arbitrary types of values.
Read-write, monolithic, random-access.
Creates an instance of the table class.
Creates an instance of the table class that is a copy of "a".
Creates an instance of the table class that is a copy of "a".
Deletes this instance of the table class.
Removes all values currently stored in the table, such that getValue() will return NULL or 0. Always returns true.
Implements collection.
Returns true.
Implements tablecollection< valuetype >.
Returns the current number of columns in the table.
Returns larger and larger values as calls to setColumnName() or setValue() extend the table.
Implements tablecollection< valuetype >.
Returns the name of column "col".
Implements tablecollection< valuetype >.
Returns whether or not this instance of the tablecollection class is configured to make copies of the values that are passed in to setColumnName().
Returns true if it is and false if it is not.
Reimplemented from tablecollection< valuetype >.
Returns whether or not this instance of the table class is configured to array-delete the values that are stored at each location in the table when clear() is called.
Returns true if it is and false if it is not.
Reimplemented from collection.
Returns whether or not this instance of the table class is configured to delete the values that are stored at each location in the table when clear() is called.
Returns true if it is and false if it is not.
Reimplemented from collection.
Returns a reference to the value at "row", "col".
Implements tablecollection< valuetype >.
Returns the current number of rows in the table.
Returns larger and larger values as calls to setValue() extend the table.
Implements tablecollection< valuetype >.
Returns the value at "row", "colname". Returns NULL or 0 if there is no value at that address.
Implements tablecollection< valuetype >.
Returns the value at "row", "col". Returns NULL or 0 if there is no value at that address.
Implements tablecollection< valuetype >.
Makes this instance of the table class identical to "a".
|
inline |
Makes this instance of the table class identical to "a".
Sets the name of column "col" to "name"
Implements tablecollection< valuetype >.
Indicates whether or not this instance of the tablecollection class should make copies the values that are passed in to setColumnName().
Defaults to "false".
Reimplemented from tablecollection< valuetype >.
Indicates whether or not this instance of the table class should array-delete the values that are stored at each location in the table when clear() is called.
Setting "manage" to true causes the instance to array-delete the values that are stored at each location in the table when clear() is called.
Setting "manage" to false causes the instance not to array-delete the values that are stored at each location in the table when clear() is called.
Defaults to "false".
Note that setting this true implies setManageValues(false);
Reimplemented from collection.
Indicates whether or not this instance of the table class should delete the values that are stored at each location in the table when clear() is called.
Setting "manage" to true causes the instance to delete the values that are stored at each location in the table when clear() is called.
Setting "manage" to false causes the instance not to delete the values that are stored at each location in the table when clear() is called.
Defaults to "false".
Note that setting this true implies setManageArrayValues(false);
Reimplemented from collection.