Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

SDimArrayMod Class Reference

#include <SDimArrayMod.h>

Inherits SModifier.

Inheritance diagram for SDimArrayMod:

Inheritance graph
[legend]
List of all members.

Public Methods

 SDimArrayMod (SDimArray &dimArray)
virtual ~SDimArrayMod ()
virtual bool load (std::istream &in)
virtual void save (std::ostream &out) const
virtual void sample ()
void setSize (int dimensions)

Protected Methods

SFlexLexergetLexer (std::istream &in)

Detailed Description

Modifier for dimension array.
See also:
SDimArray


Constructor & Destructor Documentation

SDimArrayMod::SDimArrayMod SDimArray   dimArray [inline]
 

Constructor

virtual SDimArrayMod::~SDimArrayMod   [inline, virtual]
 

Destructor


Member Function Documentation

SFlexLexer & SModifier::getLexer std::istream &    in [protected, inherited]
 

Get a reference to the global lexical-analyzer, in order to parse an input stream. There is only one lexer for all modifiers in the tasksystem to avoid wasting space. When the input stream is switched, the current line number is set to 1.

Parameters:
in  input stream

bool SDimArrayMod::load std::istream &    in [virtual]
 

Load dimension array from stream

Parameters:
in  input stream
Returns:
true if successfull, otherwise false

Implements SModifier.

virtual void SDimArrayMod::sample   [inline, virtual]
 

Reimplemented from SModifier.

void SDimArrayMod::save std::ostream &    out const [virtual]
 

Save dimension arra to stream

Implements SModifier.

void SDimArrayMod::setSize int    dimensions
 

Set size of dimension array (number of dimensions).

Parameters:
size  number of dimensions


The documentation for this class was generated from the following files:
Generated on Thu May 22 16:50:44 2003 for Sketch-it! by doxygen1.2.18