Version: 6.3.1
Functions | Variables

src/SMESH_I/SMESH_NoteBook.cxx File Reference

#include "SMESH_2smeshpy.hxx"
#include "SMESH_NoteBook.hxx"
#include "SMESH_Gen_i.hxx"
#include "SMESH_PythonDump.hxx"
#include <Resource_DataMapOfAsciiStringAsciiString.hxx>
#include <TColStd_SequenceOfAsciiString.hxx>
#include <TColStd_HSequenceOfInteger.hxx>
#include <vector>
#include <string>
Include dependency graph for SMESH_NoteBook.cxx:

Go to the source code of this file.

Functions

void SetVariable (Handle(_pyCommand) theCommand, const SMESH_ObjectStates *theStates, int position, int theArgNb)
 Set variable of the SMESH_ObjectStates from position to the _pyCommand method as nbArg argument.

Variables

static int MYDEBUG = 0

Function Documentation

void SetVariable ( Handle(_pyCommand theCommand,
const SMESH_ObjectStates theStates,
int  position,
int  theArgNb 
)

Set variable of the SMESH_ObjectStates from position to the _pyCommand method as nbArg argument.

Definition at line 856 of file SMESH_NoteBook.cxx.

References SMESH_ObjectStates.GetCurrectState(), and _pyCommand.SetArg().

Referenced by SMESH_NoteBook.ProcessLayerDistribution().

{
  if(theStates->GetCurrectState().size() > position)
    if(!theStates->GetCurrectState().at(position).IsEmpty())
      theCommand->SetArg(theArgNb,theStates->GetCurrectState().at(position));
}

Variable Documentation

int MYDEBUG = 0 [static]

Definition at line 38 of file SMESH_NoteBook.cxx.

Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS