KSquare Utilities
KKB::XmlToken Class Referenceabstract

#include <XmlStream.h>

+ Inheritance diagram for KKB::XmlToken:

Public Types

enum  TokenTypes { TokenTypes::tokNULL, TokenTypes::tokElement, TokenTypes::tokContent }
 
typedef XmlTokenXmlTokenPtr
 

Public Member Functions

 XmlToken ()
 
virtual ~XmlToken ()
 
virtual const KKStrSectionName () const
 
virtual TokenTypes TokenType ()=0
 
virtual const KKStrVarName () const
 

Detailed Description

Definition at line 252 of file XmlStream.h.

Member Typedef Documentation

Definition at line 255 of file XmlStream.h.

Member Enumeration Documentation

Enumerator
tokNULL 
tokElement 
tokContent 

Definition at line 256 of file XmlStream.h.

256 {tokNULL, tokElement, tokContent};

Constructor & Destructor Documentation

XmlToken::XmlToken ( )

Definition at line 740 of file XmlStream.cpp.

Referenced by KKB::XmlContent::XmlContent().

741 {
742 }
XmlToken::~XmlToken ( )
virtual

Definition at line 745 of file XmlStream.cpp.

746 {
747 }

Member Function Documentation

virtual const KKStr& KKB::XmlToken::SectionName ( ) const
inlinevirtual

If derived class is from the XmlElement family will be the name from the StartTag(XmlTag::Name ()) otherwise KKStr::EmptyStr()

Reimplemented in KKB::XmlElement.

Definition at line 265 of file XmlStream.h.

References KKB::KKStr::Concat(), and KKB::KKStr::EmptyStr().

Referenced by KKMLL::ModelDual::ReadXML().

265 {return KKStr::EmptyStr ();}
static const KKStr & EmptyStr()
Static method that returns an Empty String.
Definition: KKStr.cpp:3453
virtual const KKStr& KKB::XmlToken::VarName ( ) const
inlinevirtual

The documentation for this class was generated from the following files: