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
Parameter [input]: _name Name of the attribute.
Parameter [input]: _value Value of the attribute.
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
Parameter [input]: _name New name of the attribute
setName ()
void setName(const std::u32string & _name);
getName ()
const std::string & getName(void);
get the current name of the Attribute
Return: String 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);
exml::Attribute ()
Attribute(void);
Constructor
exml::Attribute ()
Attribute(const std::string & _name, const std::string & _value);
Constructor
-
Parameter [input]: _name Name of the attribute.
Parameter [input]: _value Value of the attribute.
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
-
Parameter [input]: _name New name of the attribute
setName ()
void setName(const std::u32string & _name);
getName ()
const std::string & getName(void);
get the current name of the Attribute
-
Return: String 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);