Back to index

salome-geom  6.5.0
Functions
GEOM_IHealingOperations_i.cc File Reference
#include <Standard_Stream.hxx>
#include <list>
#include "GEOM_IHealingOperations_i.hh"
#include "GEOM_Engine.hxx"
#include "GEOM_Object.hxx"
#include "utilities.h"
#include "OpUtil.hxx"
#include "Utils_ExceptHandlers.hxx"
#include <Basics_Utils.hxx>
#include <TColStd_HSequenceOfTransient.hxx>

Go to the source code of this file.

Functions

 Handle (TColStd_HArray1OfInteger) GEOM_IHealingOperations_i
 Convert.
 Handle (TColStd_HArray1OfExtendedString) GEOM_IHealingOperations_i
 Convert.

Function Documentation

Handle ( TColStd_HArray1OfInteger  )

Convert.

GetIntegerArray.

Definition at line 68 of file GEOM_IHealingOperations_i.cc.

{
  Handle(TColStd_HArray1OfInteger) anOutArray;
  int n = theInArray.length();
  if ( n <= 0 )
    return anOutArray;
  anOutArray = new TColStd_HArray1OfInteger( 1, n );
  for (int i = 0; i < n; i++)
    anOutArray->SetValue( i+1, theInArray[i] );
  return anOutArray;
}

Here is the call graph for this function:

Handle ( TColStd_HArray1OfExtendedString  )

Convert.

Definition at line 86 of file GEOM_IHealingOperations_i.cc.

{
  Handle(TColStd_HArray1OfExtendedString) anOutArray;
  int n = theInArray.length();
  if ( n <= 0 )
    return anOutArray;
  anOutArray = new TColStd_HArray1OfExtendedString( 1, n );
  char* str;
  for ( int i = 0; i < n; i++ )
  {
    str = CORBA::string_dup( theInArray[i] );
    anOutArray->SetValue( i+1, TCollection_ExtendedString( str ) );
  }
  return anOutArray;
}

Here is the call graph for this function: