#include <Teuchos_XMLObjectImplem.hpp>
Collaboration diagram for Teuchos::XMLObjectImplem:
Public Member Functions | |
| XMLObjectImplem (const string &string) | |
| Construct with a tag string. | |
| XMLObjectImplem * | deepCopy () const |
| Deep copy. | |
| void | addAttribute (const string &name, const string &value) |
| Add a [name, value] attribute. | |
| void | addChild (const XMLObject &child) |
| Add a child XMLObject. | |
| void | addContent (const string &contentLine) |
| Add a content line. | |
| string | toString () const |
| Write as a string. | |
| const string & | getTag () const |
| Return the tag string. | |
| string | header () const |
| Write the header. | |
| string | footer () const |
| Write the footer. | |
| bool | hasAttribute (const string &name) const |
| Determine whether an attribute exists. | |
| const string & | getAttribute (const string &name) const |
| Look up an attribute by name. | |
| int | numChildren () const |
| Return the number of children. | |
| const XMLObject & | getChild (int i) const |
| Look up a child by its index. | |
| int | numContentLines () const |
| Get the number of content lines. | |
| const string & | getContentLine (int i) const |
| Look up a content line by index. | |
Private Attributes | |
| string | tag_ |
| Hashtable< string, string > | attributes_ |
| Array< XMLObject > | children_ |
| Array< string > | content_ |
Definition at line 48 of file Teuchos_XMLObjectImplem.hpp.
|
|
Construct with a tag string.
Definition at line 35 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Deep copy.
Definition at line 39 of file Teuchos_XMLObjectImplem.cpp. |
|
||||||||||||
|
Add a [name, value] attribute.
Definition at line 56 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Add a child XMLObject.
Definition at line 61 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Add a content line.
Definition at line 66 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Write as a string.
Definition at line 92 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Return the tag string.
Definition at line 70 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Write the header.
Definition at line 76 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Write the footer.
Definition at line 76 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Determine whether an attribute exists.
Definition at line 79 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Look up an attribute by name.
Definition at line 83 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Return the number of children.
Definition at line 54 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Look up a child by its index.
Definition at line 71 of file Teuchos_XMLObjectImplem.cpp. |
|
|
Get the number of content lines.
Definition at line 93 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Look up a content line by index.
Definition at line 96 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Definition at line 99 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Definition at line 100 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Definition at line 101 of file Teuchos_XMLObjectImplem.hpp. |
|
|
Definition at line 102 of file Teuchos_XMLObjectImplem.hpp. |
1.3.9.1