Version: 8.3.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
GEOM_BaseObject Class Reference

#include <GEOM_BaseObject.hxx>

Inheritance diagram for GEOM_BaseObject:
Inheritance graph

Public Member Functions

Standard_EXPORT GEOM_BaseObject (const TDF_Label &theEntry, int theType)
 
Standard_EXPORT ~GEOM_BaseObject ()
 
Standard_EXPORT Handle (TDataStd_TreeNode) GetRootNode()
 
Standard_EXPORT TDF_Label GetEntry () const
 
Standard_EXPORT
TCollection_AsciiString 
GetEntryString ()
 
Standard_EXPORT int GetType ()
 
Standard_EXPORT void SetType (int theType)
 
Standard_EXPORT int GetTic ()
 
Standard_EXPORT void SetTic (int theTic)
 
Standard_EXPORT void IncrementTic ()
 
Standard_EXPORT int GetDocID ()
 
Standard_EXPORT void SetName (const char *theName)
 
Standard_EXPORT
TCollection_AsciiString 
GetName ()
 
Standard_EXPORT void SetAuxData (const char *theData)
 
Standard_EXPORT
TCollection_AsciiString 
GetAuxData ()
 
Standard_EXPORT void SetParameters (const TCollection_AsciiString &theParameters)
 
Standard_EXPORT
TCollection_AsciiString 
GetParameters () const
 
Standard_EXPORT void SetIOR (TCollection_AsciiString &theIOR)
 
Standard_EXPORT
TCollection_AsciiString 
GetIOR ()
 
Standard_EXPORT Handle (GEOM_Function) AddFunction(const Standard_GUID &theGUID
 
Standard_EXPORT int GetNbFunctions ()
 
Standard_EXPORT Handle (GEOM_Function) GetFunction(int theFunctionNumber)
 
Standard_EXPORT Handle (GEOM_Function) GetLastFunction()
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetAllDependency()
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetLastDependency()
 
Standard_EXPORT Handle (TFunction_Driver) GetCreationDriver(int funNb)
 
Standard_EXPORT TDF_Label GetFreeLabel ()
 

Static Public Member Functions

static Standard_EXPORT Handle (GEOM_BaseObject) GetObject(const TDF_Label &theLabel)
 
static Standard_EXPORT Handle (GEOM_BaseObject) GetReferencedObject(const TDF_Label &theLabel)
 
static Standard_EXPORT int GetType (const TDF_Label &theLabel)
 
static Standard_EXPORT const
Standard_GUID & 
GetObjectID ()
 
static Standard_EXPORT const
Standard_GUID & 
GetSubShapeID ()
 

Public Attributes

Standard_EXPORT int theFunctionType
 
Standard_EXPORT int bool allowSubShape =false)
 

Protected Member Functions

Standard_EXPORT GEOM_BaseObject (const TDF_Label &theLabel)
 
 Handle (TDataStd_TreeNode) _root
 

Protected Attributes

TDF_Label _label
 
TCollection_AsciiString _ior
 
TCollection_AsciiString _parameters
 
int _docID
 

Friends

class GEOM_Engine
 

Constructor & Destructor Documentation

GEOM_BaseObject::GEOM_BaseObject ( const TDF_Label &  theEntry)
protected

Constructor: private

References _docID, _label, and Handle().

GEOM_BaseObject::GEOM_BaseObject ( const TDF_Label &  theEntry,
int  theType 
)

Constructor: public

References _docID, _label, GetObjectID(), Handle(), and TYPE_LABEL.

GEOM_BaseObject::~GEOM_BaseObject ( )

Destructor

Member Function Documentation

TCollection_AsciiString GEOM_BaseObject::GetAuxData ( )

GetAuxData

References _label, and Handle().

int GEOM_BaseObject::GetDocID ( )

GetDocID

References _docID.

Standard_EXPORT TDF_Label GEOM_BaseObject::GetEntry ( ) const
inline

References _label.

TCollection_AsciiString GEOM_BaseObject::GetEntryString ( )

References GetEntry().

TDF_Label GEOM_BaseObject::GetFreeLabel ( )

GetFreeLabel

References _label, and FREE_LABEL.

Standard_EXPORT TCollection_AsciiString GEOM_BaseObject::GetIOR ( )
inline

References _ior.

TCollection_AsciiString GEOM_BaseObject::GetName ( )

GetName

References _label, and Handle().

int GEOM_BaseObject::GetNbFunctions ( )

GetNbFunctions

const Standard_GUID & GEOM_BaseObject::GetObjectID ( )
static
TCollection_AsciiString GEOM_BaseObject::GetParameters ( ) const

GetParameters

References _parameters.

const Standard_GUID & GEOM_BaseObject::GetSubShapeID ( )
static
int GEOM_BaseObject::GetTic ( )

Returns modifications counter of this object. Comparing this value with modifications counters of argument objects (on which this object depends) we decide whether this object needs to be updated.

References _label, Handle(), and TIC_LABEL.

int GEOM_BaseObject::GetType ( const TDF_Label &  theLabel)
static

References Handle(), and TYPE_LABEL.

int GEOM_BaseObject::GetType ( )

GetType

References _label, Handle(), and TYPE_LABEL.

static Standard_EXPORT GEOM_BaseObject::Handle ( GEOM_BaseObject  ) const
static
static Standard_EXPORT GEOM_BaseObject::Handle ( GEOM_BaseObject  ) const
static
Standard_EXPORT GEOM_BaseObject::Handle ( TDataStd_TreeNode  )
inline
Standard_EXPORT GEOM_BaseObject::Handle ( GEOM_Function  ) const
Standard_EXPORT GEOM_BaseObject::Handle ( GEOM_Function  )
Standard_EXPORT GEOM_BaseObject::Handle ( GEOM_Function  )
Standard_EXPORT GEOM_BaseObject::Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOM_BaseObject::Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOM_BaseObject::Handle ( TFunction_Driver  )
GEOM_BaseObject::Handle ( TDataStd_TreeNode  )
protected
void GEOM_BaseObject::IncrementTic ( )

Increment modifications counter to mark this object as modified.

Commonly called from GEOM_Function::SetValue()

References _label, Handle(), and TIC_LABEL.

void GEOM_BaseObject::SetAuxData ( const char *  theData)

SetAuxData

References _label.

Standard_EXPORT void GEOM_BaseObject::SetIOR ( TCollection_AsciiString &  theIOR)
inline

References _ior.

void GEOM_BaseObject::SetName ( const char *  theName)

SetName

References _label.

void GEOM_BaseObject::SetParameters ( const TCollection_AsciiString &  theParameters)

SetParameters

References _parameters.

void GEOM_BaseObject::SetTic ( int  theTic)

Set another value of modifications counter.

Use this method to update modifications counter of dependent object to be equal to modifications counter of its argument. This is commonly done in GEOM_Function::GetValue()

References _label, and TIC_LABEL.

void GEOM_BaseObject::SetType ( int  theType)

SetType

References _label, and TYPE_LABEL.

Friends And Related Function Documentation

friend class GEOM_Engine
friend

Member Data Documentation

int GEOM_BaseObject::_docID
protected
TCollection_AsciiString GEOM_BaseObject::_ior
protected
TDF_Label GEOM_BaseObject::_label
protected
TCollection_AsciiString GEOM_BaseObject::_parameters
protected
Standard_EXPORT int bool GEOM_BaseObject::allowSubShape =false)
Standard_EXPORT int GEOM_BaseObject::theFunctionType

The documentation for this class was generated from the following files: