| LLOOP Index | GSP Language | GSP Library | Framework Classes | Component Classes |
#include "gsp__Symbol.h"
Defines a symbol counter composite for recursively counting (possibly nested) repetitive symbol sequences More...
Public Functions | |||
| SymbolCounterComposite | ( ) | ||
| ~SymbolCounterComposite | ( ) | ||
| addComponent | ( SymbolCounter * pComponent ) | |
| destroyAllComponents | ( ) | |
| getComponent | ( unsigned long uIndex ) | ||
| getConstComponentAt | ( unsigned long uIndex ) const | |
| getNbComponents | ( ) const | |
Protected Functions | |||
| ensureComponentCapacity | ( unsigned long uMinCapacity ) | |
| getComponentAt | ( unsigned long uIterLevel , va_list arg ) | ||
Protected Variables | |||
| m_apComponents | ||
| m_uCapacity | ||
| m_uNbComponents | ||
Defines a symbol counter composite for recursively counting (possibly nested) repetitive symbol sequences
Constructor. By default the composite is empty.
See also:
Destructor. By default the composite is empty.
See also:
Returns the const sub component of the specified index.
See also:
Components-related management function.
Manages the memory slots used to store pointers to sub components (symbols) (when the symbol is iterative). Re-allocates the memory slots if necessary to ensure that at least uMinCapacity pointers can be stored. If the slots must be increased, the new slot capacity is at least doubled if this is sufficient.
See also:
Adds a sub component for this symbol.
See also:
Destroys all sub components and resets any reference to them.
See also:
Returns the number of components contained by this composite. Note that these components may themselves be composites.
See also:
Returns the sub component of the specified index.
See also:
Returns the sub component of the specified index. Allows to get a random sub component from the composite hierarchy.
uIterLevel gives the depth of the hierarchy. ... gives the indexes of the sub composites for each hierarchy level.
Note: uIterLevel can't be zero. If so this function does nothing.
See also:
This file is part of the LLOOP Reversible Object-Oriented Parser Generator. Copyright (c) 2005-2006 Michel MEHL, France. All rights reserved. LLOOP is distributed by the company ERSA SaRL.
| Copyright (c) 2005-2006 Michel MEHL, Haguenau, France |
| LLOOP version 1.1 |