cgma
RefCollection Class Reference

#include <RefCollection.hpp>

Inheritance diagram for RefCollection:
RefEntity CubitEntity CubitObservable ToolDataUser CubitAttribUser RefGroup

List of all members.

Public Member Functions

 RefCollection ()
virtual ~RefCollection ()
CollectionEntityget_collection_entity_ptr ()
CollectionEntity const * get_collection_entity_ptr () const
CubitStatus set_collection_entity_ptr (CollectionEntity *collection_entity_ptr)

Protected Attributes

CollectionEntitycollectionEntityPtr

Detailed Description

Definition at line 8 of file RefCollection.hpp.


Constructor & Destructor Documentation

Definition at line 19 of file RefCollection.cpp.

    : collectionEntityPtr(NULL)
{}

Definition at line 23 of file RefCollection.cpp.

{}

Member Function Documentation

Definition at line 14 of file RefCollection.hpp.

{ return collectionEntityPtr; }

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 ;
}

Member Data Documentation

Definition at line 23 of file RefCollection.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines