|
|
| Query () |
| | XMLfile::Query constructor sets up an invalid query.
|
| |
| | Query (const Query &q) |
| | copy constructor duplicate a given query and register the new created one at the XMLfile More...
|
| |
|
| ~Query () |
| | XMLfile::Query destructor unregister the query.
|
| |
| unsigned long | card () const |
| | get cardinality of query set return the size of the query set More...
|
| |
| bool | empty () const |
| | check ,if query set is empty return true if the query set is empty More...
|
| |
|
void | invalidate () |
| | invalidate query unregister from XMLfile and invalidate the query
|
| |
| Node | front () const |
| | get first query entry return the first Node of the query set (invalid Node, if there's none) More...
|
| |
| Query & | operator= (const Query &q) |
| | assignment operator copy/duplicate other query content to query More...
|
| |
|
| operator unsigned long () const |
| | unsigned long cast operator return cardinality
|
| |
|
| operator bool () const |
| | bool cast operator return if query is valid
|
| |
| Node | operator[] (unsigned long idx) const |
| | indexing operator return the Node within the query at given index, or empty node, if query or index is invalid More...
|
| |
| const_iterator | begin () const |
| | get starting iterator return an iterator to the first node More...
|
| |
| const_iterator | rbegin () const |
| | get reverse starting iterator return an iterator to the last node More...
|
| |
| bool | end () const |
| | get (dummy) iteration end for comparison return false (as dummy) to enable e.g. for(it=query.begin();it!=query.end();++it) this is preferable to just use e.g. for(it=query.begin();it;++it) More...
|
| |
| template<typename T > |
| unsigned long | getNodeValue (T &value) const |
| | get node value get the node content and convert it to a given type More...
|
| |
| std::string | getNodeValue_string (const std::string defaultvalue=std::string()) const |
| | get node value as string get the node content More...
|
| |
| int | getNodeValue_int (int defaultvalue=0) const |
| | get node value as int get the node content and convert it to an int More...
|
| |
| long | getNodeValue_long (long defaultvalue=0) const |
| | get node value as long get the node content and convert it to a long More...
|
| |
| float | getNodeValue_float (float defaultvalue=0.) const |
| | get node value as float get the node content and convert it to a float More...
|
| |
| double | getNodeValue_double (double defaultvalue=0.) const |
| | get node value as double get the node content and convert it to a double More...
|
| |
| bool | getNodeValue_bool (bool defaultvalue=false) const |
| | get node value as bool get the node content and convert it to a bool More...
|
| |
| void | printXML (std::ostream &ostrm=std::cout) const |
| | print XML data to stream print the query content using XML syntax More...
|
| |
| void | print (std::ostream &ostrm=std::cout) const |
| | print data to stream print the query content More...
|
| |