Back to index

salome-geom  6.5.0
Functions
GEOM_Gen_i.cc File Reference
#include <Standard_Stream.hxx>
#include "GEOM_Gen_i.hh"
#include "GEOM_Object_i.hh"
#include <set>
#include <sstream>
#include "Utils_CorbaException.hxx"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include "utilities.h"
#include "GEOM_Object.hxx"
#include "GEOM_Function.hxx"
#include "GEOM_ISubShape.hxx"
#include <GEOM_PythonDump.hxx>
#include "GEOMImpl_Types.hxx"
#include "GEOMImpl_CopyDriver.hxx"
#include <BRep_Builder.hxx>
#include <BRepTools.hxx>
#include <TDF_Label.hxx>
#include <TDF_Tool.hxx>
#include <TDF_ChildIDIterator.hxx>
#include <TNaming_NamedShape.hxx>
#include <TDataStd_Name.hxx>
#include <TCollection_AsciiString.hxx>
#include <TColStd_HArray1OfInteger.hxx>
#include <TopAbs_ShapeEnum.hxx>
#include <TopExp.hxx>
#include <OSD.hxx>
#include "SALOMEDS_Tool.hxx"

Go to the source code of this file.

Functions

static void addToListOfGO (GEOM::GEOM_Object_ptr theObject, GEOM::ListOfGO &theList)
static void addToListOfGO (const GEOM::ListOfGO &theSrcList, GEOM::ListOfGO &theTrgList)
GEOM_I_EXPORT
PortableServer::ObjectId * 
GEOMEngine_factory (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa, PortableServer::ObjectId *contId, const char *instanceName, const char *interfaceName)

Function Documentation

static void addToListOfGO ( GEOM::GEOM_Object_ptr  theObject,
GEOM::ListOfGO theList 
) [static]

Definition at line 868 of file GEOM_Gen_i.cc.

{
  const int oldLen = theList.length();
  theList.length(oldLen + 1);
  theList[ oldLen ] = GEOM::GEOM_Object::_duplicate( theObject );
}
static void addToListOfGO ( const GEOM::ListOfGO theSrcList,
GEOM::ListOfGO theTrgList 
) [static]

Definition at line 880 of file GEOM_Gen_i.cc.

{
  const int oldLen = theTrgList.length();
  const int srcLen = theSrcList.length();
  theTrgList.length(oldLen + srcLen);
  for( int i = 0; i < srcLen; i++ )
    theTrgList[ oldLen + i ] = GEOM::GEOM_Object::_duplicate( theSrcList[ i ] );
}
GEOM_I_EXPORT PortableServer::ObjectId* GEOMEngine_factory ( CORBA::ORB_ptr  orb,
PortableServer::POA_ptr  poa,
PortableServer::ObjectId *  contId,
const char *  instanceName,
const char *  interfaceName 
)

Definition at line 2561 of file GEOM_Gen_i.cc.

  {
    GEOM_Gen_i* myGEOM_Gen_i = new GEOM_Gen_i(orb, poa, contId, instanceName, interfaceName);
    return myGEOM_Gen_i->getId();
  }