MultiAgentDecisionProcess  Release 0.2.1
History.h
Go to the documentation of this file.
1 
28 /* Only include this header file once. */
29 #ifndef _HISTORY_H_
30 #define _HISTORY_H_ 1
31 
32 /* the include directives */
33 #include <iostream>
34 #include "Globals.h"
35 
37 class History
38 {
39 private:
40 
41 protected:
42 
44 
48  size_t _m_length;
49 
50 public:
51  // Constructor, destructor and copy assignment.
53  History(){};
55  virtual ~History(){};
56 
58  size_t GetLength() const
59  {
60  return(_m_length);
61  }
62 
64  void SetLength(size_t length)
65  {
66  _m_length=length;
67  }
68 
70  virtual History* Clone() const = 0;
71 
72  virtual void Print() const = 0;
73 };
74 
75 
76 #endif /* !_HISTORY_H_ */
77 
78 // Local Variables: ***
79 // mode:c++ ***
80 // End: ***