-
Notifications
You must be signed in to change notification settings - Fork 0
/
agent.hh
49 lines (28 loc) · 966 Bytes
/
agent.hh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
// Time-stamp: <2016-02-28 22:27:27 daniel>
#ifndef __AGENT_HH__
#define __AGENT_HH__
//
// agent.hh: This class defines the value associated with a player
//
// Required header files
//-----------------------------------------------------------------------------
#include <string> // std::string
#include <iosfwd> // forward decloration of ostream
// Project namespace
//-----------------------------------------------------------------------------
namespace parsec {
// Wrapper around a player
//---------------------------------------------------------------------------
class agent_t {
public:
agent_t( const char* );
virtual ~agent_t();
const std::string& id() const;
friend std::ostream& operator<<( std::ostream&, const agent_t& );
protected:
private:
std::string id_;
}; // end class agent_t
std::ostream& operator<<( std::ostream&, const agent_t& );
}; // end project NS
#endif // _AGENT_HH__