Interface for field operation.
import "GEOM_Gen.idl";
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... | |
long | GetStudyID () |
Get ID of study, where the operation is defined. More... | |
void | StartOperation () |
Opens a new transaction. More... | |
void | FinishOperation () |
Closes the previously opened trasaction. More... | |
void | AbortOperation () |
Aborts the previously opened transaction. More... | |
long GEOM::GEOM_IFieldOperations::CountFields | ( | in GEOM_Object | shape | ) |
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 | ||
) |
GEOM_Field GEOM::GEOM_IFieldOperations::GetField | ( | in GEOM_Object | shape, |
in string | name | ||
) |
ListOfFields GEOM::GEOM_IFieldOperations::GetFields | ( | in GEOM_Object | shape | ) |
long GEOM::GEOM_IFieldOperations::GetNbSubShapes | ( | in GEOM_Object | shape, |
in short | fieldDim | ||
) |