hce-node application
1.4.3
HCE Hierarchical Cluster Engine node application
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
MessagesCollection.hpp
Go to the documentation of this file.
1
14
#ifndef MESSAGES_COLLECTION_HPP
15
#define MESSAGES_COLLECTION_HPP
16
17
#include <vector>
18
#include <map>
19
#include <string>
20
21
namespace
HCE
22
{
23
//-----------------------------------------------------------------------------
24
class
MessagesCollection
25
{
26
typedef
std::pair<unsigned int, std::string> MsgItem;
27
typedef
std::map<unsigned int, std::string> MSG_MAP;
28
public
:
29
MessagesCollection
(
void
);
30
explicit
MessagesCollection
(
const
std::vector<MsgItem>& msgItems);
31
MessagesCollection
(
const
MessagesCollection
& rhs);
32
MessagesCollection
(
MessagesCollection
&& rhs);
33
~MessagesCollection
(
void
);
34
35
MessagesCollection
&
operator=
(
const
MessagesCollection
& rhs);
36
MessagesCollection
&
operator=
(
MessagesCollection
&& rhs);
37
38
void
set
(
const
std::vector<MsgItem>& msgItems);
39
std::string
getMessage
(
unsigned
int
type
);
40
41
const
MSG_MAP
getMessages
(
void
)
const
{
return
Messages;}
42
private
:
43
MSG_MAP Messages;
44
};
45
//-----------------------------------------------------------------------------
46
//-----------------------------------------------------------------------------
47
}
// end namespace HCE
48
49
#endif // MESSAGES_COLLECTION_HPP
sources
utils
messageStream
src
MessagesCollection.hpp
Generated on Tue Jun 30 2015 19:42:14 for hce-node application by
1.8.1.2