#include <Fl_XmlNode.h>
Inheritance diagram for Fl_XmlAttributes:
Public Types | |
typedef Fl_String_String_Iterator | Iterator |
Public Methods | |
Fl_XmlAttributes () | |
Constructs empty attribute map. | |
Fl_XmlAttributes & | operator= (const Fl_XmlAttributes &src) |
Assign operator. More... | |
bool | has_attribute (const char *attr) const |
Search for named attribute. More... | |
Fl_String & | get_attribute (const char *attr) const |
Returns attribute value for given attribute. More... | |
void | set_attribute (const char *attr, const char *value) |
Set new value to attribute 'attr'. More... | |
void | set_attribute (const char *attr, const Fl_String &value) |
Set new value to attribute 'attr'. More... |
Definition at line 19 of file Fl_XmlNode.h.
|
Returns attribute value for given attribute. If not found, empty string is returned. HTML tags can have empty attributes, for those you should use has_attribute() method.
Definition at line 47 of file Fl_XmlNode.h. Referenced by Fl_XmlNode::get_attribute(). |
|
Search for named attribute. Returns true, if given attribute is found.
Definition at line 39 of file Fl_XmlNode.h. Referenced by Fl_XmlNode::has_attribute(). |
|
Assign operator. Makes deep copy of map to another.
|
|
Set new value to attribute 'attr'. If attribute is not found, it's added to map.
Definition at line 63 of file Fl_XmlNode.h. |
|
Set new value to attribute 'attr'. If attribute is not found, it's added to map.
Definition at line 55 of file Fl_XmlNode.h. Referenced by Fl_XmlNode::set_attribute(). |