#include <tag.h>
Public Member Functions | |
| Attribute (Tag *parent, const std::string &name, const std::string &value, const std::string &xmlns=EmptyString) | |
| Attribute (const std::string &name, const std::string &value, const std::string &xmlns=EmptyString) | |
| Attribute (const Attribute &attr) | |
| virtual | ~Attribute () |
| const std::string & | name () const |
| const std::string & | value () const |
| bool | setValue (const std::string &value) |
| const std::string & | xmlns () const |
| bool | setXmlns (const std::string &xmlns) |
| bool | setPrefix (const std::string &prefix) |
| const std::string & | prefix () const |
| const std::string | xml () const |
| bool | operator== (const Attribute &right) const |
| bool | operator!= (const Attribute &right) const |
| operator bool () const | |
Definition at line 59 of file tag.h.
|
||||||||||||||||||||
|
Creates a new Attribute from
In the future: If |
|
||||||||||||||||
|
Creates a new Attribute from
|
|
|
Copy constructor.
|
|
|
Destructor. |
|
|
Returns the attribute's name.
|
|
|
Returns true if the Attribute is valid, false otherwise. |
|
|
Checks two Attributes for inequality. |
|
|
Checks two Attributes for equality. |
|
|
Returns the attribute's namespace prefix.
|
|
|
Sets the attribute's namespace prefix.
|
|
|
Sets the attribute's value.
|
|
|
Sets the attribute's namespace.
|
|
|
Returns the attribute's value.
|
|
|
Returns a string representation of the attribute.
|
|
|
Returns the attribute's namespace.
|
1.4.1