Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CL_XMLToken Class Reference

#include <xml_token.h>

Inheritance diagram for CL_XMLToken:

CL_XMLTokenLoad CL_XMLTokenSave List of all members.

Public Types

enum  TokenType {
  NULL_TOKEN = 0, ELEMENT_TOKEN = 1, TEXT_TOKEN = 3, CDATA_SECTION_TOKEN = 4,
  ENTITY_REFERENCE_TOKEN = 5, ENTITY_TOKEN = 6, PROCESSING_INSTRUCTION_TOKEN = 7, COMMENT_TOKEN = 8,
  DOCUMENT_TYPE_TOKEN = 10, NOTATION_TOKEN = 12
}
 Attributes:. More...
enum  TokenVariant { BEGIN = 1, END = 2, SINGLE = 3 }

Public Member Functions

virtual ~CL_XMLToken ()
 Construction:.
virtual TokenType get_type () const =0
virtual TokenVariant get_variant () const =0
virtual std::string get_name () const =0
virtual std::string get_value () const =0
virtual int get_attributes_number () const =0
virtual std::pair< std::string,
std::string > 
get_attribute (int attribute_num) const =0

Detailed Description

clanCore="XML" header=core.h

Definition at line 44 of file xml_token.h.


Member Enumeration Documentation

enum CL_XMLToken::TokenType
 

Attributes:.

Enumeration values:
NULL_TOKEN 
ELEMENT_TOKEN 
TEXT_TOKEN 
CDATA_SECTION_TOKEN 
ENTITY_REFERENCE_TOKEN 
ENTITY_TOKEN 
PROCESSING_INSTRUCTION_TOKEN 
COMMENT_TOKEN 
DOCUMENT_TYPE_TOKEN 
NOTATION_TOKEN 

Definition at line 52 of file xml_token.h.

enum CL_XMLToken::TokenVariant
 

Enumeration values:
BEGIN 
END 
SINGLE 

Definition at line 66 of file xml_token.h.


Constructor & Destructor Documentation

virtual CL_XMLToken::~CL_XMLToken  )  [inline, virtual]
 

Construction:.

Definition at line 48 of file xml_token.h.


Member Function Documentation

virtual std::pair<std::string, std::string> CL_XMLToken::get_attribute int  attribute_num  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.

virtual int CL_XMLToken::get_attributes_number  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.

virtual std::string CL_XMLToken::get_name  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.

virtual TokenType CL_XMLToken::get_type  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.

virtual std::string CL_XMLToken::get_value  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.

virtual TokenVariant CL_XMLToken::get_variant  )  const [pure virtual]
 

Implemented in CL_XMLTokenLoad, and CL_XMLTokenSave.


The documentation for this class was generated from the following file:
Generated on Sat Feb 19 22:51:18 2005 for npcore by  doxygen 1.4.1