Om  1.0.0
A universal framework for multimedia simulation
Public Member Functions | List of all members
om::xml::XMLAttribute Class Reference

A class that represents a name-value pair of data for an XML element. More...

#include <omXMLAttribute.h>

Public Member Functions

 XMLAttribute (const UTF8String &newName, const UTF8String &newValue)
 Create a new XML node attribute with the specified name and value strings. More...
 
const UTF8String & getName () const
 Return a string representing the name of this XML node attribute. More...
 
void setName (const UTF8String &newName)
 Set a string representing the name of this XML node attribute. More...
 
const UTF8String & getValue () const
 Return a string representing the value of this XML node attribute. More...
 
void setValue (const UTF8String &newValue)
 Set a string representing the value of this XML node attribute. More...
 

Detailed Description

A class that represents a name-value pair of data for an XML element.

Constructor & Destructor Documentation

om::xml::XMLAttribute::XMLAttribute ( const UTF8String &  newName,
const UTF8String &  newValue 
)
inline

Create a new XML node attribute with the specified name and value strings.

Member Function Documentation

const UTF8String& om::xml::XMLAttribute::getName ( ) const
inline

Return a string representing the name of this XML node attribute.

void om::xml::XMLAttribute::setName ( const UTF8String &  newName)
inline

Set a string representing the name of this XML node attribute.

const UTF8String& om::xml::XMLAttribute::getValue ( ) const
inline

Return a string representing the value of this XML node attribute.

void om::xml::XMLAttribute::setValue ( const UTF8String &  newValue)
inline

Set a string representing the value of this XML node attribute.


The documentation for this class was generated from the following file: