Back to index

salome-smesh  6.5.0
Public Member Functions | Private Attributes
SMESH_ObjectStates Class Reference

#include <SMESH_NoteBook.hxx>

Inheritance diagram for SMESH_ObjectStates:
Inheritance graph
[legend]
Collaboration diagram for SMESH_ObjectStates:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 SMESH_ObjectStates (TCollection_AsciiString theType)
 Constructor.
virtual ~SMESH_ObjectStates ()
 Destructor.
void AddState (const TState &theState)
 Add new object state.
TState GetCurrectState () const
 Return current object state \retval state - Object state (vector of notebook variable)
TAllStates GetAllStates () const
void IncrementState ()
TCollection_AsciiString GetObjectType () const

Private Attributes

TCollection_AsciiString _type
TAllStates _states
int _dumpstate

Detailed Description

Definition at line 42 of file SMESH_NoteBook.hxx.


Constructor & Destructor Documentation

SMESH_ObjectStates::SMESH_ObjectStates ( TCollection_AsciiString  theType)

Constructor.

Definition at line 66 of file SMESH_NoteBook.cxx.

{
  _type = theType;
  _dumpstate = 0;
}

Destructor.

Definition at line 77 of file SMESH_NoteBook.cxx.

{
}

Member Function Documentation

void SMESH_ObjectStates::AddState ( const TState theState)

Add new object state.

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

Definition at line 87 of file SMESH_NoteBook.cxx.

{
  _states.push_back(theState);
}

Here is the caller graph for this function:

Definition at line 112 of file SMESH_NoteBook.cxx.

{
  return _states;
}

Here is the caller graph for this function:

Return current object state \retval state - Object state (vector of notebook variable)

Definition at line 98 of file SMESH_NoteBook.cxx.

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

Here is the caller graph for this function:

TCollection_AsciiString SMESH_ObjectStates::GetObjectType ( ) const

Definition at line 132 of file SMESH_NoteBook.cxx.

                                                               {
  return _type;
}

Here is the caller graph for this function:

Definition at line 122 of file SMESH_NoteBook.cxx.

{
  _dumpstate++;
}

Here is the caller graph for this function:


Member Data Documentation

Definition at line 61 of file SMESH_NoteBook.hxx.

Definition at line 60 of file SMESH_NoteBook.hxx.

TCollection_AsciiString SMESH_ObjectStates::_type [private]

Definition at line 59 of file SMESH_NoteBook.hxx.


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