Classes |
Public Types |
Public Member Functions |
Friends |
Related Functions |
List of all members
attribute_set_t Class Reference
Detailed Description
Definition at line 49 of file xml_parser.hpp. Member Typedef Documentation§ const_iterator
Definition at line 56 of file xml_parser.hpp. § iterator
Definition at line 57 of file xml_parser.hpp. § key_type
Definition at line 51 of file xml_parser.hpp. § mapped_type
Definition at line 52 of file xml_parser.hpp. § set_type
Definition at line 54 of file xml_parser.hpp. § size_type
Definition at line 55 of file xml_parser.hpp. § value_type
Definition at line 53 of file xml_parser.hpp. Member Function Documentation§ begin()
Definition at line 282 of file xml_parser.hpp. § clear()
Erases the entire contents of the attribute set.
Definition at line 296 of file xml_parser.hpp. § count_collisions()
A collision is defined as a key existing in both attribute sets but having different values. This routine searches two attribute sets and counts the number of collisions that exist between them.
Definition at line 409 of file xml_parser.hpp. § count_same()
Counts the number of attributes two attribute sets hold in similarity. When making the comparison the value of the attributes can be optionally omitted.
Definition at line 364 of file xml_parser.hpp. § empty()
Definition at line 268 of file xml_parser.hpp. § end()
Definition at line 288 of file xml_parser.hpp. § has_collisions()
A collision is defined as a key existing in both attribute sets but having different values. This routine searches two attribute sets looking to see if any collisions exist between them. This routine is no slower (and is often faster than) the expression
Definition at line 391 of file xml_parser.hpp. § insert() [1/3]
Inserts a key-value pair into the current attribute set. If there are more than one references to the internal instance of this attribute set, then a copy will be spun off before the insertion is made. In the case when a value is already stored under the key specified in the attribute to be inserted, that value is replaced.
Definition at line 192 of file xml_parser.hpp. § insert() [2/3]
Inserts a range of key-value pairs into the current attribute set. Equivalent to invoking insert() over each element in the range.
Definition at line 213 of file xml_parser.hpp. § insert() [3/3]
Inserts a key-value pair into the current attribute set. This is a helper implementation, allowing the client to specify the key and the value to be inserted as separate parameters.
Definition at line 224 of file xml_parser.hpp. § lower_bound() [1/4]
Same logical result as std::lower_bound as it applies to attribute_set_t. Note that the value of the attribute is not used in the search; only the key is looked up.
Definition at line 99 of file xml_parser.hpp. § lower_bound() [2/4]
Same logical result as std::lower_bound as it applies to attribute_set_t. For this particular implementation only the attribute key is necessary as a parameter.
Definition at line 118 of file xml_parser.hpp. § lower_bound() [3/4]
const-equivalent of lower_bound for attribute_set_t. Definition at line 124 of file xml_parser.hpp. § lower_bound() [4/4]
const-equivalent of lower_bound for attribute_set_t. Definition at line 135 of file xml_parser.hpp. § merge()
This merges two attribute sets together and places the union into dst. In the case where both attribute sets have an element with the same name, the value in the union will be from *this. The values are not compared when performing the union. This means the "override" attribute set should be the first source when you call this function.
Definition at line 171 of file xml_parser.hpp. § operator[]()
Fetches an unmodifiable value from an attribute_set_t stored under a given key.
Definition at line 147 of file xml_parser.hpp. § size()
Definition at line 275 of file xml_parser.hpp. Friends And Related Function Documentation§ operator<< [1/2]
§ operator<<() [2/2]
Defines serialization functionality for an attribute set. Output format is similar to the format required for attribute sets in xml documents.
Definition at line 337 of file xml_parser.hpp. § operator== [1/2]
§ operator==() [2/2]
Defines equality comparisons between two attribute sets. Equivalent to calling count_same over the attribute sets and arriving at the size of both sets (which, by implication, must be the same.)
Definition at line 319 of file xml_parser.hpp. |