00001 #ifndef CONSTRAINTFUNC_H 00002 #define CONSTRAINTFUNC_H 00003 00004 #include "Any.h" 00005 #include "string" 00006 00007 class ConstraintFuncRep : public Any 00008 { 00009 public: 00010 ConstraintFuncRep( BON::FCO& ptr); 00011 std::string doDump(); 00012 /*virtual*/ std::string getName() const; 00013 Any::KIND_TYPE getMyKind() const { return Any::CONSTRAINTFUNC; } 00014 00015 protected: 00016 void fetch(); 00017 std::string m_context; 00018 std::string m_returntype; 00019 std::string m_stereotype; 00020 std::string m_definition; 00021 std::string m_parameterlist; 00022 std::string m_defdForNamesp; 00023 00024 private: // forbiding copy 00025 ConstraintFuncRep( const ConstraintFuncRep &); 00026 const ConstraintFuncRep& operator=( const ConstraintFuncRep&); 00027 00028 }; 00029 #endif //CONSTRAINTFUNC_H