Version: 9.12.0
GEOM::GEOM_IFieldOperations Interface Reference

Interface for field operation.

import"GEOM_Gen.idl";

Inheritance diagram for GEOM::GEOM_IFieldOperations:
Inheritance graph

Public Member Functions

GEOM_Field CreateField (in GEOM_Object shape, in string name, in field_data_type type, in short dimension, in string_array componentNames)
 Creates a field. More...
 
long CountFields (in GEOM_Object shape)
 Returns number of fields on a shape. More...
 
ListOfFields GetFields (in GEOM_Object shape)
 Returns all fields on a shape. More...
 
GEOM_Field GetField (in GEOM_Object shape, in string name)
 Returns a field on a shape by its name. More...
 
long GetNbSubShapes (in GEOM_Object shape, in short fieldDim)
 Returns number of sub-shapes of given dimension. More...
 
- Public Member Functions inherited from GEOM::GEOM_IOperations
boolean IsDone ()
 To know, if the operation was successfully performed. More...
 
void SetErrorCode (in string theErrorID)
 Set the operation error code. More...
 
string GetErrorCode ()
 Get the operation error code. More...
 
void StartOperation ()
 Opens a new transaction. More...
 
void FinishOperation ()
 Closes the previously opened transaction. More...
 
void AbortOperation ()
 Aborts the previously opened transaction. More...
 

Member Function Documentation

◆ CountFields()

long GEOM::GEOM_IFieldOperations::CountFields ( in GEOM_Object  shape)

◆ CreateField()

GEOM_Field GEOM::GEOM_IFieldOperations::CreateField ( in GEOM_Object  shape,
in string  name,
in field_data_type  type,
in short  dimension,
in string_array  componentNames 
)

◆ GetField()

GEOM_Field GEOM::GEOM_IFieldOperations::GetField ( in GEOM_Object  shape,
in string  name 
)

◆ GetFields()

ListOfFields GEOM::GEOM_IFieldOperations::GetFields ( in GEOM_Object  shape)

◆ GetNbSubShapes()

long GEOM::GEOM_IFieldOperations::GetNbSubShapes ( in GEOM_Object  shape,
in short  fieldDim 
)

The documentation for this interface was generated from the following file: