Inherits IAttributeHelper.
Inheritance diagram for StringAttributeHelper:
Public Member Functions | |
StringAttributeHelper (std::string value) | |
virtual | ~StringAttributeHelper () |
void | convert (std::stringstream &sstream) |
Converts the stored value into a string. | |
std::string | getValue () |
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 | |
std::string | _value |
StringAttributeHelper::StringAttributeHelper | ( | std::string | value | ) | [inline] |
virtual StringAttributeHelper::~StringAttributeHelper | ( | ) | [inline, virtual] |
void StringAttributeHelper::convert | ( | std::stringstream & | sstream | ) | [inline, virtual] |
Converts the stored value into a string.
sstream | The stringstream to use for the conversion |
Implements IAttributeHelper.
std::string StringAttributeHelper::getValue | ( | ) | [inline] |
int32 StringAttributeHelper::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.
std::string StringAttributeHelper::_value [protected] |