XML Element Declaration. More...
#include <decXmlElementDecl.h>
Public Types | |
| enum | eContentTypes { ectEmpty, ectAny, ectMixed, ectComposed, ECT_COUNT } |
Content type enumeration. More... | |
Public Member Functions | |
Constructors and Destructors | |
| decXmlElementDecl (const char *name) | |
| Creates a new xml element declaration. | |
| ~decXmlElementDecl () | |
| Cleans up the xml element declaration. | |
Management | |
| const char * | GetName () const |
| void | SetName (const char *name) |
| int | GetContentType () const |
| void | SetContentType (int contentType) |
Visiting | |
| void | Visit (decXmlVisitor *visitor) |
| Visits this node. | |
Casting | |
| virtual bool | CanCastToElementDecl () |
| Determines if this element can be cast to decXmlElementDecl which is by default false. | |
| virtual decXmlElementDecl * | CastToElementDecl () |
| Safely casts this element to decXmlElementDecl or throwns an exception otherwise. | |
XML Element Declaration.
| decXmlElementDecl::decXmlElementDecl | ( | const char * | name ) |
Creates a new xml element declaration.
| decXmlElementDecl::~decXmlElementDecl | ( | ) |
Cleans up the xml element declaration.
| virtual bool decXmlElementDecl::CanCastToElementDecl | ( | ) | [virtual] |
Determines if this element can be cast to decXmlElementDecl which is by default false.
Reimplemented from decXmlElement.
| virtual decXmlElementDecl* decXmlElementDecl::CastToElementDecl | ( | ) | [virtual] |
Safely casts this element to decXmlElementDecl or throwns an exception otherwise.
Reimplemented from decXmlElement.
| int decXmlElementDecl::GetContentType | ( | ) | const [inline] |
| const char* decXmlElementDecl::GetName | ( | ) | const [inline] |
| void decXmlElementDecl::SetContentType | ( | int | contentType ) |
| void decXmlElementDecl::SetName | ( | const char * | name ) |
| void decXmlElementDecl::Visit | ( | decXmlVisitor * | visitor ) | [virtual] |
Visits this node.
Reimplemented from decXmlContainer.
1.7.2