Index

SymbolCounter Class Reference

Defines a counter for recursively counting (possibly nested) repetitive symbol sequences More...

#include "gsp__Symbol.h"


Inherited Class(es)


Public Functions

Private Variables


Detailed Description

Defines a counter for recursively counting (possibly nested) repetitive symbol sequences


Functions Documentation

SymbolCounter ( ) 

Constructor. Counter is 0.

See also:

Back to index

~SymbolCounter ( ) 

Destructor.

See also:

Back to index

void reset ( ) 

Resets the counter. Value is reset to 0 and all sub-counters are destroyed.

See also:

Back to index

unsigned long value ( ) const 

Returns the value of the counter.

See also:

Back to index

void incr ( ) 

Increments the counter.

See also:

Back to index

universal::String getSymbolCounterName ( ) const 

Returns the symbolic name of the counter. Intented for the error messages.

See also:

Back to index

unsigned long valueAt Symbol * pSymbol , unsigned long uIterLevel , ... ) 

Equivalent to the function referred to below, except that a various number of parameter can be given to the function.

If the passed index(es) is (are) invalid (out of range), the error message is raised as exception (char *), and shall be freed with ::free().

See also:

SymbolCounter * SymbolCounterComposite::getComponentAt ( unsigned long uIterLevel , va_list arg 
Back to index


Generated with makedoc.