cgma
CAEntityName.hpp
Go to the documentation of this file.
00001 //- Class:          CAEntityName
00002 //- Owner:          Greg Nielson
00003 //- Description:    Cubit attribute for entity names.
00004 //- Checked by:
00005 //- Version:
00006 
00007 #ifndef CA_ENTITY_NAME_HPP
00008 #define CA_ENTITY_NAME_HPP
00009 
00010 #include "CubitAttrib.hpp"
00011 #include "DLIList.hpp"
00012 #include "CubitDefines.h"
00013 #include "CADefines.hpp"
00014 
00015 class RefEntity;
00016 
00017 class CUBIT_GEOM_EXPORT CAEntityName: public CubitAttrib
00018 {
00019 private:
00020  
00021   DLIList<CubitString> entityNames;
00022 
00023 public:
00024 
00025   virtual ~CAEntityName();
00026 
00027   CAEntityName(RefEntity*, const CubitSimpleAttrib&);
00028     //- create a CAEN from a simple attribute
00029 
00030   CubitStatus actuate();
00031 
00032   CubitStatus update();
00033 
00034   CubitStatus reset();
00035     //- reset function, cleans out name lists
00036 
00037   CubitSimpleAttrib split_owner();
00038 
00039   void merge_owner(CubitAttrib *deletable_attrib);
00040 
00041   CubitSimpleAttrib cubit_simple_attrib();
00042 
00043   int int_attrib_type() {return CA_ENTITY_NAME;}
00044 
00045   void print();
00046   
00047 };
00048 
00049 CubitAttrib* CAEntityName_creator(RefEntity* entity, const CubitSimpleAttrib &p_csa);
00050 
00051 #endif
00052 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines