#include <BasicXMLable.hxx>
If you don't need those implementation issues consider using XMLable instead which defines only the interface.
Definition at line 46 of file BasicXMLable.hxx.
Public Member Functions | |
BasicXMLable (const char *name=0, bool isXMLElement=false) | |
Constructs a BasicXMLable. | |
virtual | ~BasicXMLable () |
const char * | XMLName () const |
bool | IsXMLElement () const |
bool | IsXMLAttribute () const |
bool | IsXMLText () const |
virtual std::string | XMLContent () const =0 |
bool | FulfilsInvariant () |
BasicXMLable::BasicXMLable | ( | const char * | name = 0 , |
|
bool | isXMLElement = false | |||
) |
Constructs a BasicXMLable.
name | A pointer to a 0 terminated string containing the xml name (for elements and attributes) or 0 (the default) if the element is neither an element nor an attribute ( |
isXMLElement | Tells whether the object is an element or an attribute when the name is defined. |
Definition at line 27 of file BasicXMLable.cxx.
References CLAM_ASSERT, CLAM_BEGIN_CHECK, and CLAM_END_CHECK.
virtual CLAM::BasicXMLable::~BasicXMLable | ( | ) | [inline, virtual] |
Definition at line 68 of file BasicXMLable.hxx.
const char* CLAM::BasicXMLable::XMLName | ( | ) | const [inline, virtual] |
bool CLAM::BasicXMLable::IsXMLElement | ( | ) | const [inline, virtual] |
bool CLAM::BasicXMLable::IsXMLAttribute | ( | ) | const [inline, virtual] |
bool CLAM::BasicXMLable::IsXMLText | ( | ) | const [inline, virtual] |
virtual std::string CLAM::BasicXMLable::XMLContent | ( | ) | const [pure virtual] |
Implements CLAM::XMLable.
Implemented in CLAM::XMLAdapter< T >, CLAM::XMLArrayAdapter< T >, CLAM::XMLComponentAdapter, and CLAM::XMLIterableAdapter< T >.
bool BasicXMLable::FulfilsInvariant | ( | ) |
Reimplemented in CLAM::XMLAdapter< T >, CLAM::XMLArrayAdapter< T >, CLAM::XMLComponentAdapter, and CLAM::XMLIterableAdapter< T >.
Definition at line 51 of file BasicXMLable.cxx.
Referenced by CLAM::XMLIterableAdapter< T >::FulfilsInvariant(), CLAM::XMLComponentAdapter::FulfilsInvariant(), CLAM::XMLArrayAdapter< T >::FulfilsInvariant(), and CLAM::XMLAdapter< T >::FulfilsInvariant().