libepp_nicbr
Main Page
Classes
Files
File List
File Members
include
ContactDeleteCmd.H
Go to the documentation of this file.
1
/* ${copyright}$ */
2
/* $Id$ */
7
#ifndef __CONTACT_DELETE_CMD_H__
8
#define __CONTACT_DELETE_CMD_H__
9
10
#include <string>
11
12
#include "
libepp_nicbr.H
"
13
14
#include "
Command.H
"
15
16
using
std::string;
17
18
LIBEPP_NICBR_NS_BEGIN
19
21
class
ContactDeleteCmd
:
public
Command
22
{
23
public
:
25
ContactDeleteCmd
(
bool
reset
=
true
) :
Command
(false)
26
{
27
if
(
reset
) {
28
this->
reset
();
29
}
30
}
31
33
37
void
set_id
(
const
string
&
id
) {
_id
= id; }
38
40
43
string
get_id
()
const
{
return
_id
; }
44
46
void
reset
()
47
{
48
Command::reset
();
49
_id
.clear();
50
}
51
52
protected
:
54
string
_id
;
55
};
56
57
LIBEPP_NICBR_NS_END
58
#endif // __CONTACT_DELETE_CMD_H__
ContactDeleteCmd::set_id
void set_id(const string &id)
id to be deleted
Definition:
ContactDeleteCmd.H:37
libepp_nicbr.H
Project defines.
ContactDeleteCmd::_id
string _id
Contact id list.
Definition:
ContactDeleteCmd.H:54
ContactDeleteCmd::get_id
string get_id() const
Returns contact id to be deleted.
Definition:
ContactDeleteCmd.H:43
Command::reset
void reset()
Reset object attributes.
Definition:
Command.H:33
Command
EPP Command Class.
Definition:
Command.H:18
Command.H
EPP Command Class.
ContactDeleteCmd::reset
void reset()
reset attributes
Definition:
ContactDeleteCmd.H:46
ContactDeleteCmd::ContactDeleteCmd
ContactDeleteCmd(bool reset=true)
Default constructor.
Definition:
ContactDeleteCmd.H:25
ContactDeleteCmd
EPP ContactDeleteCmd Class.
Definition:
ContactDeleteCmd.H:21
Generated on Wed Jan 28 2015 15:17:52 for libepp_nicbr by
1.8.9