Guest User

GQE - IPROPERTY- SOURCE

a guest
Jan 24th, 2013
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.49 KB | None | 0 0
  1. #include "IProperty.hpp"
  2.  
  3. namespace GQE
  4. {
  5.   IProperty::IProperty(std::string theType, const std::string thePropertyID) :
  6.     mType(theType),
  7.     mPropertyID(thePropertyID)
  8.   {
  9.   }
  10.  
  11.   IProperty::~IProperty()
  12.   {
  13.   }
  14.  
  15.   IProperty::Type_t* IProperty::GetType(void)
  16.   {
  17.     return &mType;
  18.   }
  19.  
  20.   const std::string IProperty::GetID(void) const
  21.   {
  22.     return mPropertyID;
  23.   }
  24.  
  25.   void IProperty::SetType(std::string theType)
  26.   {
  27.     mType = Type_t(theType);
  28.   }
  29. } // namespace GQE
Advertisement
Add Comment
Please, Sign In to add comment