cgma
|
#include <RefCollection.hpp>
Public Member Functions | |
RefCollection () | |
virtual | ~RefCollection () |
CollectionEntity * | get_collection_entity_ptr () |
CollectionEntity const * | get_collection_entity_ptr () const |
CubitStatus | set_collection_entity_ptr (CollectionEntity *collection_entity_ptr) |
Protected Attributes | |
CollectionEntity * | collectionEntityPtr |
Definition at line 8 of file RefCollection.hpp.
Definition at line 19 of file RefCollection.cpp.
: collectionEntityPtr(NULL) {}
RefCollection::~RefCollection | ( | ) | [virtual] |
Definition at line 23 of file RefCollection.cpp.
{}
CollectionEntity* RefCollection::get_collection_entity_ptr | ( | ) | [inline] |
Definition at line 13 of file RefCollection.hpp.
{ return collectionEntityPtr; }
CollectionEntity const* RefCollection::get_collection_entity_ptr | ( | ) | const [inline] |
Definition at line 14 of file RefCollection.hpp.
{ return collectionEntityPtr; }
CubitStatus RefCollection::set_collection_entity_ptr | ( | CollectionEntity * | collection_entity_ptr | ) |
Definition at line 36 of file RefCollection.cpp.
{ // Make sure that a CUBIT OWNER attribute is attached to the solid // model entity underlying the CollectionEntity. This attribute contains // a (back)pointer to this VGI GroupingEntity. CubitStatus status = collection_entity_ptr->set_owner_attribute( this ); if (status == CUBIT_SUCCESS) { collectionEntityPtr = collection_entity_ptr ; } else { PRINT_ERROR("In RefCollection::set_collection_entity_ptr\n" " Unable to set owner attribute\n" ); } return status ; }
CollectionEntity* RefCollection::collectionEntityPtr [protected] |
Definition at line 23 of file RefCollection.hpp.