00001 #ifndef __AXE_THING__ 00002 #define __AXE_THING__ 00003 00004 00005 //------------------------------------------------------------------------------------------------------------ 00006 // Includes 00007 //------------------------------------------------------------------------------------------------------------ 00008 #include <iostream> 00009 00010 00011 class AxeThing{ 00012 00013 //------------------------------------------------------------------------------------------------------------ 00014 // Constructors & Destructors 00015 //------------------------------------------------------------------------------------------------------------ 00016 public: 00017 00018 /* 00019 * Creates an AxeThing 00020 */ 00021 AxeThing(); 00022 00023 /* 00024 * Destroys an AxeThing 00025 */ 00026 ~AxeThing(); 00027 //------------------------------------------------------------------------------------------------------------ 00028 // Methods 00029 //------------------------------------------------------------------------------------------------------------ 00030 00031 00032 void setDescription(std::string aDescription); 00033 00034 std::string getDescription(); 00035 00036 void setLength(int aLength); 00037 00038 int getLength(); 00039 00040 00041 //------------------------------------------------------------------------------------------------------------ 00042 // Constants 00043 //------------------------------------------------------------------------------------------------------------ 00044 00045 private: 00046 //------------------------------------------------------------------------------------------------------------ 00047 // Attributes 00048 //------------------------------------------------------------------------------------------------------------ 00049 00050 std::string description; 00051 00052 int length; 00053 00054 }; 00055 #endif