Class: exml::Attribute


Synopsis:

+                           Attribute    (void);
+ Attribute (const std::string & _name,
const std::string & _value);
+ Attribute (const std::u32string & _name,
const std::u32string & _value);
+ ~Attribute (void);
+ void setName (const std::string & _name);
+ void setName (const std::u32string & _name);
+ const std::string & getName (void);
+ std::u32string getUName (void);
+ enum nodeType getType (void);
+ bool iParse (const std::string & _data,
int32_t & _pos,
bool _caseSensitive,
exml::filePos & _filePos,
exml::Document & _doc);
+ bool iGenerate (std::string & _data,
int32_t _indent);
+ exml::Attribute * toAttribute (void);
+ const exml::Attribute * toAttribute (void);
+ void clear (void);

Object Hierarchy:

Node
    +--> exml::Attribute

Detail:

exml::Attribute ()

Attribute(void);

Constructor


exml::Attribute ()

Attribute(const std::string & _name,
          const std::string & _value);

Constructor


exml::Attribute ()

Attribute(const std::u32string & _name,
          const std::u32string & _value);



exml::~Attribute ()

~Attribute(void);

Destructor


setName ()

void setName(const std::string & _name);

set the name of the attribute


setName ()

void setName(const std::u32string & _name);



getName ()

const std::string & getName(void);

get the current name of the Attribute


getUName ()

std::u32string getUName(void);



getType ()

enum nodeType getType(void);



iParse ()

bool iParse(const std::string & _data,
            int32_t & _pos,
            bool _caseSensitive,
            exml::filePos & _filePos,
            exml::Document & _doc);



iGenerate ()

bool iGenerate(std::string & _data,
               int32_t _indent);



toAttribute ()

exml::Attribute * toAttribute(void);



toAttribute ()

const exml::Attribute * toAttribute(void);



clear ()

void clear(void);