MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
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
47
Type_AOHIndex
&
Type_AOHIndex::operator=
(
const
Type_AOHIndex
& o)
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
59
Type
*
Type_AOHIndex::Clone
()
const
60
{
61
Type_AOHIndex
* t =
new
Type_AOHIndex
(*
this
);
62
return
(
Type
*) t;
63
}
64
65
string
Type_AOHIndex::SoftPrint
()
const
66
{
67
stringstream ss;
68
ss <<
"aoh"
<<_m_aohI;
69
return
(ss.str());
70
}
src
planning
Type_AOHIndex.cpp
Generated on Mon Sep 23 2013 14:50:06 for MultiAgentDecisionProcess by
1.8.1.2