MultiAgentDecisionProcess  Release 0.2.1
Type_AOHIndex.cpp
Go to the documentation of this file.
1 
28 #include "Type_AOHIndex.h"
29 
30 using namespace std;
31 
32 /*
33 //Default constructor
34 Type_AOHIndex::Type_AOHIndex()
35 {
36 }
37 //Copy constructor.
38 Type_AOHIndex::Type_AOHIndex(const Type_AOHIndex& o)
39 {
40 }
41 //Destructor
42 Type_AOHIndex::~Type_AOHIndex()
43 {
44 }
45 */
46 //Copy assignment operator
48 {
49  if (this == &o) return *this; // Gracefully handle self assignment
50  // Put the normal assignment duties here...
51  _m_aohI = o._m_aohI;
52  //call base class
53  Type::operator=(o);
54 
55  return *this;
56 }
57 
58 
60 {
61  Type_AOHIndex* t = new Type_AOHIndex(*this);
62  return (Type*) t;
63 }
64 
66 {
67  stringstream ss;
68  ss << "aoh"<<_m_aohI;
69  return(ss.str());
70 }