libepp_nicbr
Public Member Functions | List of all members
DefRegUpdateCmd::Status Class Reference

EPP DefRegUpdateCmd::Status Class. More...

#include <DefRegUpdateCmd.H>

Public Member Functions

 Status ()
 Default constructor.
 
 Status (const string &status, const string &lang="", const string &msg="")
 Constructor used to easy fill all values. More...
 
bool operator< (const Status &st) const
 Less comparator to avoid duplicated status in a set container. More...
 
void set_status (const string &status)
 Sets the status of the defensive registration object. More...
 
string get_status () const
 Returns the status of the defensive registration object. More...
 
void set_lang (const string &lang)
 Sets the status' message language. More...
 
string get_lang () const
 Returns the status' message language. More...
 
void set_msg (const string &msg)
 Sets the status' message. More...
 
string get_msg () const
 Returns the status' message. More...
 
void reset ()
 Reset object attributes.
 

Detailed Description

EPP DefRegUpdateCmd::Status Class.

Constructor & Destructor Documentation

DefRegUpdateCmd::Status::Status ( const string &  status,
const string &  lang = "",
const string &  msg = "" 
)
inline

Constructor used to easy fill all values.

Parameters
statusstatus of the defensive registration object
langstatus' message language
msgstatus' message

Member Function Documentation

string DefRegUpdateCmd::Status::get_lang ( ) const
inline

Returns the status' message language.

Returns
status' message language
string DefRegUpdateCmd::Status::get_msg ( ) const
inline

Returns the status' message.

Returns
status' message
string DefRegUpdateCmd::Status::get_status ( ) const
inline

Returns the status of the defensive registration object.

Returns
status of the defensive registration object
bool DefRegUpdateCmd::Status::operator< ( const Status st) const
inline

Less comparator to avoid duplicated status in a set container.

Parameters
stother status instance
Returns
true if this status is less than the other or false otherwise
void DefRegUpdateCmd::Status::set_lang ( const string &  lang)
inline

Sets the status' message language.

Parameters
langstatus' message language

Referenced by SheppObjSet::status().

void DefRegUpdateCmd::Status::set_msg ( const string &  msg)
inline

Sets the status' message.

Parameters
msgstatus' message

Referenced by SheppObjSet::status().

void DefRegUpdateCmd::Status::set_status ( const string &  status)
inline

Sets the status of the defensive registration object.

Parameters
statusstatus of the defensive registration object

Referenced by SheppObjSet::status().


The documentation for this class was generated from the following file: