Inheritance diagram for NumberAttributeHelper< T >:
Public Member Functions | |
NumberAttributeHelper (T value) | |
virtual | ~NumberAttributeHelper () |
void | convert (std::stringstream &sstream) |
Converts the stored value into a string. | |
T | getValue () |
void | getValue (T &value) |
int32 | writeAttribute (int32 fileId, std::string &datasetPath, std::string &key, IAttributeWriter &writer) |
Writes the stored value to a disk using the IAttributeWriter object. | |
Protected Attributes | |
T | _value |
NumberAttributeHelper< T >::NumberAttributeHelper | ( | T | value | ) | [inline] |
virtual NumberAttributeHelper< T >::~NumberAttributeHelper | ( | ) | [inline, virtual] |
void NumberAttributeHelper< T >::convert | ( | std::stringstream & | sstream | ) | [inline, virtual] |
Converts the stored value into a string.
sstream | The stringstream to use for the conversion |
Implements IAttributeHelper.
T NumberAttributeHelper< T >::getValue | ( | ) | [inline] |
void NumberAttributeHelper< T >::getValue | ( | T & | value | ) | [inline] |
int32 NumberAttributeHelper< T >::writeAttribute | ( | int32 | locationId, | |
std::string & | datasetPath, | |||
std::string & | key, | |||
IAttributeWriter & | writer | |||
) | [inline, virtual] |
Writes the stored value to a disk using the IAttributeWriter object.
locationId | A unique ID | |
datasetPath | The Path to the dataset that this attribute belongs to | |
key | The attribute Key | |
writer | IAttributeWriter object to use for the writing |
Implements IAttributeHelper.
T NumberAttributeHelper< T >::_value [protected] |