libepp_nicbr
Main Page
Classes
Files
File List
File Members
include
Command.H
Go to the documentation of this file.
1
/* ${copyright}$ */
2
/* $Id: Command.H 1086 2010-12-10 13:07:28Z eduardo $ */
7
#ifndef __COMMAND_H__
8
#define __COMMAND_H__
9
10
#include <string>
11
#include "
libepp_nicbr.H
"
12
13
using
std::string;
14
15
LIBEPP_NICBR_NS_BEGIN
16
18
class
Command
19
{
20
public
:
22
Command
(
bool
reset
=
true
)
23
{
24
if
(
reset
) {
25
this->
reset
();
26
}
27
}
28
30
33
void
reset
()
34
{
35
_clTRID
=
""
;
36
}
37
39
virtual
~Command
() {}
40
42
45
void
set_clTRID
(
const
string
&clTRID)
46
{
47
_clTRID
= clTRID;
48
}
49
51
54
string
get_clTRID
()
const
55
{
56
return
_clTRID
;
57
}
58
59
protected
:
61
string
_clTRID
;
62
63
};
64
65
LIBEPP_NICBR_NS_END
66
#endif //__COMMAND_H__
Command::~Command
virtual ~Command()
virtual destructor
Definition:
Command.H:39
Command::set_clTRID
void set_clTRID(const string &clTRID)
Sets clTRID.
Definition:
Command.H:45
libepp_nicbr.H
Project defines.
Command::Command
Command(bool reset=true)
Default constructor.
Definition:
Command.H:22
Command::get_clTRID
string get_clTRID() const
Returns clTRID.
Definition:
Command.H:54
Command::reset
void reset()
Reset object attributes.
Definition:
Command.H:33
Command
EPP Command Class.
Definition:
Command.H:18
Command::_clTRID
string _clTRID
Client Transaction ID.
Definition:
Command.H:61
Generated on Wed Jan 28 2015 15:17:52 for libepp_nicbr by
1.8.9