AsnCreateCmd Class Reference

EPP AsnCreate Class. More...

#include <AsnCreateCmd.H>

Inheritance diagram for AsnCreateCmd:

Command

List of all members.

Public Member Functions

 AsnCreateCmd (bool reset=true)
 Default constructor.
void set_asn (const int asn)
 Sets asn.
int get_asn () const
 Returns asn.
void set_organization (const string &organization)
 Sets organization.
string get_organization () const
 Returns organization associated with the asn.
void insert_contact (const string &type, const string &identification)
 Inserts a contact in the map of other contacts.
map< string, string, less
< string > > 
get_contacts () const
 Returns map of other contacts.
void reset ()
 Reset object attributes.

Protected Attributes

int _asn
 autonomous system number
string _organization
 organization associated with the asn
map< string, string, less
< string > > 
_contacts
 other contact objects


Detailed Description

EPP AsnCreate Class.

Member Function Documentation

int AsnCreateCmd::get_asn (  )  const [inline]

Returns asn.

Returns:
autonomous system number

References _asn.

Referenced by cmd_asn_create().

map< string, string, less<string> > AsnCreateCmd::get_contacts (  )  const [inline]

Returns map of other contacts.

Returns:
map of other contacts

References _contacts.

Referenced by cmd_asn_create().

string AsnCreateCmd::get_organization (  )  const [inline]

Returns organization associated with the asn.

Returns:
organization owner of the asn

References _organization.

Referenced by cmd_asn_create().

void AsnCreateCmd::insert_contact ( const string &  type,
const string &  identification 
) [inline]

Inserts a contact in the map of other contacts.

Parameters:
type contact type
identification contact identification

References _contacts.

Referenced by cmd_asn_create().

void AsnCreateCmd::reset (  )  [inline]

Reset object attributes.

reset attributes

Reimplemented from Command.

References _asn, _contacts, and _organization.

Referenced by AsnCreateCmd().

void AsnCreateCmd::set_asn ( const int  asn  )  [inline]

Sets asn.

Parameters:
asn autonomous system number

References _asn.

Referenced by cmd_asn_create().

void AsnCreateCmd::set_organization ( const string &  organization  )  [inline]

Sets organization.

Parameters:
organization organization to be associated with the asn

References _organization.

Referenced by cmd_asn_create().


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

Generated on Thu Jan 21 14:44:03 2010 for libepp_nicbr by  doxygen 1.5.9