cgma
CASourceFeature.hpp
Go to the documentation of this file.
00001 #ifndef CA_SOURCE_FEATURE_HPP
00002 #define CA_SOURCE_FEATURE_HPP
00003 
00004 #include "CubitAttrib.hpp"
00005 #include "DLIList.hpp"
00006 #include "CubitDefines.h"
00007 #include "CADefines.hpp"
00008 #include "GeometryFeatureEngine.hpp"
00009 
00010 class RefEntity;
00011 
00013 class CUBIT_GEOM_EXPORT CASourceFeature: public CubitAttrib
00014 {
00015 private:
00017     GeometryFeatureEngine::FeatureType sourceFeature;
00018 
00019 public:
00021     CASourceFeature(RefEntity*, const CubitSimpleAttrib &);
00022 
00024     virtual ~CASourceFeature();
00025 
00027     CubitStatus actuate();
00028 
00030     CubitStatus update();
00031 
00033     CubitStatus reset();
00034 
00036     CubitSimpleAttrib cubit_simple_attrib();
00037 
00039     GeometryFeatureEngine::FeatureType 
00040         string_to_feature_type(CubitString value_in);
00041 
00043     CubitString
00044         feature_type_to_string(GeometryFeatureEngine::FeatureType type_in);
00045 
00047     int int_attrib_type() {return CA_SOURCE_FEATURE;}
00048 
00050     void print();
00051 
00052 };
00053 
00055 CubitAttrib* CASourceFeature_creator(RefEntity* entity, const CubitSimpleAttrib &p_csa);
00056 
00057 #endif
00058 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines