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

dfa_token Class Reference

class contains rule token More...

#include <sxs.h>

List of all members.

Public Member Functions

 dfa_token ()
 default constructor
 ~dfa_token ()
 destructor
 dfa_token (byte_allocator &allocator_, const dfa_token &x)
 copy constructor with external allocator
 dfa_token (dfaRule rule, const elementDecl *decl, dfa_token *first, dfa_token *last)
 constructor from created rule
void assign (byte_allocator &allocator_, const dfa_token &x)
 assigns
bool find_any_resursively () const
 find ANY recursively

Public Attributes

dfaRule _rule
 DFA rule for this token.
const elementDecl_decl
 pointer to the element schema if applied
dfa_token_first
 first dfa entry
dfa_token_last
 last dfa entry


Detailed Description

class contains rule token

Definition at line 310 of file sxs.h.


Constructor & Destructor Documentation

dfa_token::dfa_token (  ) 

default constructor

Definition at line 219 of file sxs.cpp.

Referenced by assign().

dfa_token::~dfa_token (  ) 

destructor

Definition at line 234 of file sxs.cpp.

dfa_token::dfa_token ( byte_allocator allocator_,
const dfa_token x 
)

copy constructor with external allocator

Parameters:
allocator_  external allocator
x  input value

Definition at line 224 of file sxs.cpp.

dfa_token::dfa_token ( dfaRule  rule,
const elementDecl decl,
dfa_token first,
dfa_token last 
)

constructor from created rule

Parameters:
rule  external rule
decl  element declaration
first  pointer to the first child
last  pointer to the last child

Definition at line 229 of file sxs.cpp.


Member Function Documentation

void dfa_token::assign ( byte_allocator allocator_,
const dfa_token x 
)

assigns

Parameters:
allocator_  external allocator
x  input value

Definition at line 239 of file sxs.cpp.

References _decl, _first, _last, _rule, byte_allocator::allocate(), assign(), check_pointer(), and dfa_token().

Referenced by assign(), and xml_grammar::copy().

bool dfa_token::find_any_resursively (  )  const

find ANY recursively

Definition at line 260 of file sxs.cpp.

References elementDecl::_content, _decl, _first, _last, CONTENT_ANY, and find_any_resursively().

Referenced by xml_document::add_element(), and find_any_resursively().


Member Data Documentation


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


© Copyright Terimber 2003-.