Public Member Functions | |
XMLMXAAttributeWriter (boost::shared_ptr< std::ofstream > ofstreamPtr) | |
virtual | ~XMLMXAAttributeWriter () |
std::string | indent (int depth) |
int32 | writeAttribute (const std::string &attributeKey, IMXAArray::Pointer attribute) |
Writes the attribute to the xml file. | |
template<typename T> | |
int32 | writeAttributeData (const std::string &attributeKey, IMXAArray::Pointer attribute) |
Template based method to write an attribute to an xml file. | |
int32 | writeStringAttributeData (const std::string &attributeKey, IMXAArray::Pointer attribute) |
Writes a string based attribute to an xml file. | |
Private Member Functions | |
XMLMXAAttributeWriter (const XMLMXAAttributeWriter &) | |
void | operator= (const XMLMXAAttributeWriter &) |
Private Attributes | |
boost::shared_ptr< std::ofstream > | _ofstreamPtr |
XMLMXAAttributeWriter::XMLMXAAttributeWriter | ( | boost::shared_ptr< std::ofstream > | ofstreamPtr | ) | [inline] |
virtual XMLMXAAttributeWriter::~XMLMXAAttributeWriter | ( | ) | [inline, virtual] |
XMLMXAAttributeWriter::XMLMXAAttributeWriter | ( | const XMLMXAAttributeWriter & | ) | [private] |
std::string XMLMXAAttributeWriter::indent | ( | int | depth | ) | [inline] |
int32 XMLMXAAttributeWriter::writeAttribute | ( | const std::string & | attributeKey, | |
IMXAArray::Pointer | attribute | |||
) | [inline] |
Writes the attribute to the xml file.
attributeKey | The name of the attribute to write | |
attribute | The attribute to write |
int32 XMLMXAAttributeWriter::writeAttributeData | ( | const std::string & | attributeKey, | |
IMXAArray::Pointer | attribute | |||
) | [inline] |
Template based method to write an attribute to an xml file.
attributeKey | The name of the attribute to write | |
attribute | The attribute to write to the xml file |
int32 XMLMXAAttributeWriter::writeStringAttributeData | ( | const std::string & | attributeKey, | |
IMXAArray::Pointer | attribute | |||
) | [inline] |
Writes a string based attribute to an xml file.
attributeKey | The name of the attribute to write | |
attribute | The attribute to write |
void XMLMXAAttributeWriter::operator= | ( | const XMLMXAAttributeWriter & | ) | [private] |
boost::shared_ptr<std::ofstream> XMLMXAAttributeWriter::_ofstreamPtr [private] |