-
Notifications
You must be signed in to change notification settings - Fork 0
/
Host.cpp
44 lines (37 loc) · 986 Bytes
/
Host.cpp
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
////////////////////////////////////////////////////////////////////////////////
//! \file Host.cpp
//! \brief The Host class definition.
//! \author Chris Oldwood
#include "Common.hpp"
#include "Host.hpp"
////////////////////////////////////////////////////////////////////////////////
//! Default constructor.
Host::Host()
: m_name()
, m_environment()
, m_description()
, m_monitor(true)
, m_logon()
{
}
////////////////////////////////////////////////////////////////////////////////
//! Constructor.
Host::Host(const tstring& name)
: m_name(name)
, m_environment()
, m_description()
, m_monitor(true)
, m_logon()
{
}
////////////////////////////////////////////////////////////////////////////////
//! Constructor.
Host::Host(const tstring& name, const tstring& environment, const tstring& description,
bool monitor, const tstring& logon)
: m_name(name)
, m_environment(environment)
, m_description(description)
, m_monitor(monitor)
, m_logon(logon)
{
}