Back to index

salome-geom  6.5.0
Public Member Functions | Private Attributes
ObjectStates Class Reference

#include <GEOM_Engine.hxx>

Collaboration diagram for ObjectStates:
Collaboration graph
[legend]

List of all members.

Public Member Functions

Standard_EXPORT ObjectStates ()
 Constructor.
 ~ObjectStates ()
 Destructor.
TAllStates GetAllStates () const
TState GetCurrectState () const
 Return current object state.
Standard_EXPORT void AddState (const TState &theState)
 Add new object state.
void IncrementState ()
 Increment object state.

Private Attributes

TAllStates _states
int _dumpstate

Detailed Description

Definition at line 79 of file GEOM_Engine.hxx.


Constructor & Destructor Documentation

Constructor.

Definition at line 1625 of file GEOM_Engine.cxx.

{
  _dumpstate = 0;
}

Destructor.

Definition at line 1635 of file GEOM_Engine.cxx.

{
}

Member Function Documentation

void ObjectStates::AddState ( const TState theState)

Add new object state.

Parameters:
theState- Object state (vector of notebook variable)

Definition at line 1658 of file GEOM_Engine.cxx.

{
  _states.push_back(theState);
}

Definition at line 85 of file GEOM_Engine.hxx.

{ return _states; }

Return current object state.

Return values:
state- Object state (vector of notebook variable)

Definition at line 1645 of file GEOM_Engine.cxx.

{
  if(_states.size() > _dumpstate)
    return _states[_dumpstate];
  return TState();
}

Here is the caller graph for this function:

Increment object state.

Definition at line 1668 of file GEOM_Engine.cxx.

{
  _dumpstate++;
}

Here is the caller graph for this function:


Member Data Documentation

int ObjectStates::_dumpstate [private]

Definition at line 93 of file GEOM_Engine.hxx.

Definition at line 92 of file GEOM_Engine.hxx.


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