Root element map.
More...
#include <element-map.hxx>
|
| static std::auto_ptr< element_type > | parse (const xercesc::DOMElement &e, flags f=0) |
| | Parse a DOM element.
|
| |
| static void | serialize (xercesc::DOMElement &e, const element_type &x) |
| | Serialize an element object to a DOM element.
|
| |
template<typename C, typename T>
class xsd::cxx::tree::element_map< C, T >
Root element map.
This class allows uniform parsing/serialization of multiple root elements via the element_type base class.
◆ parse()
template<typename C , typename T >
| static std::auto_ptr< element_type > parse |
( |
const xercesc::DOMElement & |
e, |
|
|
flags |
f = 0 |
|
) |
| |
|
static |
Parse a DOM element.
- Parameters
-
| e | A DOM element to parse. |
| f | Flags to create the new element object with. |
- Returns
- An automatic pointer to the new element object.
◆ serialize()
template<typename C , typename T >
| static void serialize |
( |
xercesc::DOMElement & |
e, |
|
|
const element_type & |
x |
|
) |
| |
|
static |
Serialize an element object to a DOM element.
- Parameters
-
| e | A DOM element to serialize to. |
| x | An element object to serialize. |
The documentation for this class was generated from the following file:
Copyright © 2005-2023 Code Synthesis.