#include <XMLTree.h>
Public Member Functions | |
| XMLAttrib (const std::string &name, const std::string &string_value) | |
| Constructs an XMLAttrib object from a name and a string value. | |
| XMLAttrib (const std::string &name, Real real_value) | |
| Constructs a real-valued attribute with the given name. | |
| XMLAttrib (const std::string &name, int int_value) | |
| Constructs an integer-valued attribute with the given name. | |
| XMLAttrib (const std::string &name, unsigned unsigned_value) | |
| Constructs an unsigned integer-valued attribute with the given name. | |
| XMLAttrib (const std::string &name, const VectorN &vector_value) | |
| Constructs a vector-valued attribute with the given name. | |
| XMLAttrib (const std::string &name, const MatrixN &matrix_value) | |
| Constructs a vector-valued attribute with the given name. | |
| XMLAttrib (const std::string &name, bool bool_value) | |
| Constructs a Boolean-valued attribute from the given value. | |
| XMLAttrib (const std::string &name, long long_value) | |
| Constructs a long-valued attribute from the given value. | |
| const std::string & | name () const |
| void | name (const std::string &name) |
| const std::string & | get_string_value () const |
| Real | get_real_value () const |
| int | get_int_value () const |
| unsigned | get_unsigned_value () const |
| bool | get_bool_value () const |
| Gets a Boolean value from the underlying string representation. | |
| long | get_long_value () const |
| std::list< std::string > | get_strings_value () const |
| Gets a list of space-delimited and/or comma-delimited strings from the underlying string value. | |
| VectorN | get_vector_value () const |
| Gets a list of space-delimited and/or comma-delimited vectors from the underlying string value. | |
| MatrixN | get_matrix_value () const |
| Gets a list of space-delimited and/or comma-delimited strings from the underlying string value. | |
| bool | operator== (const XMLAttrib &a) const |
| bool | operator< (const XMLAttrib &a) const |
| bool XMLAttrib::get_bool_value | ( | ) | const |
Gets a Boolean value from the underlying string representation.
1.5.1