libepp_nicbr
Main Page
Classes
Files
File List
File Members
include
ContactCheckCmd.H
Go to the documentation of this file.
1
/* ${copyright}$ */
2
/* $Id: ContactCheckCmd.H 1086 2010-12-10 13:07:28Z eduardo $ */
7
#ifndef __CONTACT_CHECK_CMD_H__
8
#define __CONTACT_CHECK_CMD_H__
9
10
#include <string>
11
#include <set>
12
13
#include "
libepp_nicbr.H
"
14
15
#include "
Command.H
"
16
17
using
std::string;
18
using
std::set;
19
20
LIBEPP_NICBR_NS_BEGIN
21
23
class
ContactCheckCmd
:
public
Command
24
{
25
public
:
27
ContactCheckCmd
(
bool
reset
=
true
) :
Command
(false)
28
{
29
if
(
reset
) {
30
this->
reset
();
31
}
32
}
33
35
38
void
insert_id
(
const
string
&
id
) {
_id_list
.insert(
id
); }
39
41
44
set<string>
get_id_list
()
const
{
return
_id_list
; }
45
47
void
reset
()
48
{
49
Command::reset
();
50
_id_list
.clear();
51
}
52
53
protected
:
55
set<string>
_id_list
;
56
};
57
58
LIBEPP_NICBR_NS_END
59
#endif //__CONTACT_CHECK_CMD_H__
ContactCheckCmd::reset
void reset()
reset attributes
Definition:
ContactCheckCmd.H:47
libepp_nicbr.H
Project defines.
ContactCheckCmd::get_id_list
set< string > get_id_list() const
Returns contact id list.
Definition:
ContactCheckCmd.H:44
ContactCheckCmd
EPP ContactCheckCmd Class.
Definition:
ContactCheckCmd.H:23
ContactCheckCmd::_id_list
set< string > _id_list
Contact id list.
Definition:
ContactCheckCmd.H:55
Command::reset
void reset()
Reset object attributes.
Definition:
Command.H:33
ContactCheckCmd::insert_id
void insert_id(const string &id)
Inserts an id into id list.
Definition:
ContactCheckCmd.H:38
Command
EPP Command Class.
Definition:
Command.H:18
Command.H
EPP Command Class.
ContactCheckCmd::ContactCheckCmd
ContactCheckCmd(bool reset=true)
Default constructor.
Definition:
ContactCheckCmd.H:27
Generated on Wed Jan 28 2015 15:17:52 for libepp_nicbr by
1.8.9