#include <BxDimension.h>
Inheritance diagram for BxDimension:

Public Member Functions | |
| BxDimension () | |
| BxDimension (int from, int to, const char *name) | |
| BxDimension (const BxDimension ©) | |
| char * | toString (bool close) |
| void | setName (char *name) |
| void | copyName (const char *name) |
<dim indexFrom="0" indexTo="15" name="column1"/>
|
|
Default constructor. Constructs an instance of the class BxDimension. Default attribute values are assigned as follows:
indexFrom_ = 0;
indexTo_ = -1;
name_ = NULL;
|
|
||||||||||||||||
|
Construct a dimension object with specified name and indexing information.
|
|
|
Construct a dimension object having attribute values identical to a specified dimension object.
Attributes of the new dimension object are initialized by copying attribute values from the specified input dimension object.
|
|
|
Copies a specified constant string value. Memory is allocated to hold a copy of the input string. The input name is copied into the new string. The new string is assigned as the name of this dimension object. The caller is responsible for releasing the input string when it is no longer needed.
|
|
|
Returns the total number of elements in this dimension.
|
|
|
Returns the zero-based index of the first element of this dimension, normally zero.
|
|
|
Returns the zero-based index of the last element of this dimension.
|
|
|
Returns the name associated with this dimension.
|
|
|
Sets the index value associated with the first element of this dimension to a specified value.
|
|
|
Sets the index value associated with the last element of this dimension to a specified value.
|
|
|
Sets the nameassociated with this dimension to a specified value. Upon completion of this method, the string containing the dimension name is referenced by this object. The caller must not delete the string after invoking this method. This object will release the string when this object is destructed.
|
|
|
Build a BinX XML element containing the dimension definition for this dimension object.
Memory is allocated for a string to hold the BinX XML dimension specification. The caller is responsible for releasing the string when it is no longer needed.
<dim name="day7-data" indexTo="2999"/>
|
1.3.3