StringAttributeHelper Class Reference

Some helper classes for Attributes. More...

Inherits IAttributeHelper.

Inheritance diagram for StringAttributeHelper:

Inheritance graph
[legend]
Collaboration diagram for StringAttributeHelper:

Collaboration graph
[legend]
List of all members.

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

Detailed Description

Some helper classes for Attributes.

Version:
Revision
1.2


Constructor & Destructor Documentation

StringAttributeHelper::StringAttributeHelper ( std::string  value  )  [inline]

virtual StringAttributeHelper::~StringAttributeHelper (  )  [inline, virtual]


Member Function Documentation

void StringAttributeHelper::convert ( std::stringstream &  sstream  )  [inline, virtual]

Converts the stored value into a string.

Parameters:
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.

Parameters:
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
Returns:
Error condition

Implements IAttributeHelper.


Member Data Documentation

std::string StringAttributeHelper::_value [protected]


The documentation for this class was generated from the following file:
Generated on Tue Nov 17 18:43:16 2009 for MXADataModel by  doxygen 1.5.2