libepp_nicbr
Main Page
Classes
Files
File List
File Members
include
ContactCreateRsp.H
Go to the documentation of this file.
1
/* ${copyright}$ */
2
/* $Id: ContactCreateRsp.H 1086 2010-12-10 13:07:28Z eduardo $ */
7
#ifndef __CONTACT_CREATE_RSP_H__
8
#define __CONTACT_CREATE_RSP_H__
9
10
#include <string>
11
12
#include "
libepp_nicbr.H
"
13
14
#include "
Response.H
"
15
16
using
std::string;
17
18
LIBEPP_NICBR_NS_BEGIN
19
21
class
ContactCreateRsp
:
public
Response
22
{
23
public
:
25
ContactCreateRsp
(
bool
reset
=
true
) :
Response
(false)
26
{
27
if
(
reset
) {
28
this->
reset
();
29
}
30
}
31
33
36
void
set_id
(
const
string
&
id
) {
_id
= id; }
37
39
42
void
set_crDate
(
const
string
&crDate) {
_crDate
= crDate; }
43
45
48
string
get_id
()
const
{
return
_id
; }
49
51
54
string
get_crDate
()
const
{
return
_crDate
; }
55
57
void
reset
()
58
{
59
Response::reset
();
60
_id
=
""
;
61
_crDate
=
""
;
62
}
63
64
protected
:
66
string
_id
;
67
69
string
_crDate
;
70
71
};
72
73
LIBEPP_NICBR_NS_END
74
#endif //__CONTACT_CREATE_RSP_H__
ContactCreateRsp::set_crDate
void set_crDate(const string &crDate)
Sets the contact's creation date.
Definition:
ContactCreateRsp.H:42
ContactCreateRsp
EPP ContactCreateRsp Class.
Definition:
ContactCreateRsp.H:21
Response
EPP Response Class.
Definition:
Response.H:24
libepp_nicbr.H
Project defines.
Response.H
EPP Response Class.
ContactCreateRsp::get_id
string get_id() const
Returns the contact's id.
Definition:
ContactCreateRsp.H:48
ContactCreateRsp::_id
string _id
Contact id.
Definition:
ContactCreateRsp.H:66
ContactCreateRsp::_crDate
string _crDate
Date and Time of contact creation.
Definition:
ContactCreateRsp.H:69
ContactCreateRsp::ContactCreateRsp
ContactCreateRsp(bool reset=true)
Default constructor.
Definition:
ContactCreateRsp.H:25
ContactCreateRsp::reset
void reset()
Resets object attributes.
Definition:
ContactCreateRsp.H:57
ContactCreateRsp::get_crDate
string get_crDate() const
Returns the contact's creation date.
Definition:
ContactCreateRsp.H:54
Response::reset
void reset()
reset attributes
Definition:
Response.H:161
ContactCreateRsp::set_id
void set_id(const string &id)
Sets the contact's id.
Definition:
ContactCreateRsp.H:36
Generated on Wed Jan 28 2015 15:17:52 for libepp_nicbr by
1.8.9