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_any Class Reference

implements ANY content More...

#include <xmlmodel.h>

Inheritance diagram for content_any:

content_node

List of all members.

Public Member Functions

virtual ~content_any ()
 destructor
 content_any (dfaRule rule, size_t pos)
 constructor
size_t get_pos () const
 returns position
virtual bool is_nullable () const
 checks if the node is nullable

Protected Member Functions

virtual void calc_pos (_bitset &state, bool) const
 calculates position

Private Attributes

size_t _pos
 position


Detailed Description

implements ANY content

Definition at line 88 of file xmlmodel.h.


Constructor & Destructor Documentation

virtual content_any::~content_any (  )  [inline, virtual]

destructor

Definition at line 93 of file xmlmodel.h.

content_any::content_any ( dfaRule  rule,
size_t  pos 
)

constructor

Parameters:
rule  DFA rule
pos  position

Definition at line 53 of file xmlmodel.cpp.

References DFA_ANY.


Member Function Documentation

size_t content_any::get_pos (  )  const [inline]

returns position

Definition at line 81 of file xmlmodel.hpp.

References _pos.

bool content_any::is_nullable (  )  const [virtual]

checks if the node is nullable

Implements content_node.

Definition at line 72 of file xmlmodel.cpp.

References _pos, and os_minus_one.

void content_any::calc_pos ( _bitset state,
bool   
) const [protected, virtual]

calculates position

Parameters:
state  bitset

Implements content_node.

Definition at line 61 of file xmlmodel.cpp.

References _pos, os_minus_one, base_bitset::reset(), and base_bitset::set().


Member Data Documentation

size_t content_any::_pos [private]

position

Definition at line 116 of file xmlmodel.h.

Referenced by calc_pos(), get_pos(), and is_nullable().


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


© Copyright Terimber 2003-.