Thread portable class


Gate portable class


Timer class


Pool class


Terimber 2.0


About C++


Downloads Products & Services Support Clients Open Source About



Home / Open source / Terimber 2.0

content_mixed Class Reference

validator for mixed content More...

#include <xmlmodel.h>

Inheritance diagram for content_mixed:

content_interface

List of all members.

Public Member Functions

 content_mixed (const dfa_token *parent, byte_allocator &tmp_allocator)
 constructor
void validate (const xml_element &_el)
 validates xml element

Private Member Functions

void build_mixed_list (const dfa_token *parent)
 builds mixed list

Private Attributes

byte_allocator_tmp_allocator
 temporary allocator
_list< const dfa_token * > _listToken
 list of DFA tokens


Detailed Description

validator for mixed content

Definition at line 254 of file xmlmodel.h.


Constructor & Destructor Documentation

content_mixed::content_mixed ( const dfa_token parent,
byte_allocator tmp_allocator 
)

constructor

Parameters:
parent  parent DFA token
tmp_allocator  temporary allocator

Definition at line 160 of file xmlmodel.cpp.

References build_mixed_list().


Member Function Documentation

void content_mixed::validate ( const xml_element _el  )  [virtual]

void content_mixed::build_mixed_list ( const dfa_token parent  )  [private]

builds mixed list

Parameters:
parent  parent DFA token

Definition at line 167 of file xmlmodel.cpp.

References dfa_token::_first, dfa_token::_last, _listToken, dfa_token::_rule, _tmp_allocator, DFA_ANY, DFA_ASTERISK, DFA_CHOICE, DFA_LEAF, DFA_PLUS, DFA_QUESTION, DFA_SEQUENCE, and _list< T, A >::push_back().

Referenced by content_mixed().


Member Data Documentation

temporary allocator

Definition at line 272 of file xmlmodel.h.

Referenced by build_mixed_list().

list of DFA tokens

Definition at line 273 of file xmlmodel.h.

Referenced by build_mixed_list(), and validate().


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


© Copyright Terimber 2003-.