#include <IpNetworkCreateCmd.H>
Inheritance diagram for IpNetworkCreateCmd:
Public Member Functions | |
IpNetworkCreateCmd (bool reset=true) | |
Default constructor. | |
void | set_ipRange (const IpRange &ipRange) |
Sets ip range. | |
IpRange | get_ipRange () const |
Returns ip range. | |
void | set_organization (const string &organization) |
Sets organization. | |
string | get_organization () const |
Returns organization associated with the ip range. | |
void | set_asn (const int asn) |
Sets asn. | |
int | get_asn () const |
Returns asn. | |
void | set_allocType (const string &allocType) |
Sets allocation type. | |
string | get_allocType () const |
Returns allocation type. | |
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 () |
Returns map of other contacts. | |
void | insert_reverseDns (const ReverseDns &reverseDns) |
Sets reverse dns. | |
vector< ReverseDns > | get_reversesDns () const |
Returns reverses dns. | |
void | reset () |
Reset object attributes. | |
Protected Attributes | |
IpRange | _ipRange |
ip range | |
string | _organization |
organization associated with the ip range | |
int | _asn |
autonomous system number that manages the ip range | |
string | _allocType |
allocation type | |
map< string, string, less< string > > | _contacts |
other contact objects | |
vector< struct ReverseDns > | _reversesDns |
delegation information for the ip range |
string IpNetworkCreateCmd::get_allocType | ( | ) | const [inline] |
Returns allocation type.
int IpNetworkCreateCmd::get_asn | ( | ) | const [inline] |
Returns asn.
map< string, string, less<string> > IpNetworkCreateCmd::get_contacts | ( | ) | [inline] |
Returns map of other contacts.
IpRange IpNetworkCreateCmd::get_ipRange | ( | ) | const [inline] |
Returns ip range.
string IpNetworkCreateCmd::get_organization | ( | ) | const [inline] |
Returns organization associated with the ip range.
vector<ReverseDns> IpNetworkCreateCmd::get_reversesDns | ( | ) | const [inline] |
Returns reverses dns.
void IpNetworkCreateCmd::insert_contact | ( | const string & | type, | |
const string & | identification | |||
) | [inline] |
Inserts a contact in the map of other contacts.
type | contact type | |
identification | contact identification |
void IpNetworkCreateCmd::insert_reverseDns | ( | const ReverseDns & | reverseDns | ) | [inline] |
Sets reverse dns.
reverseDns | delegation information for the ip range |
void IpNetworkCreateCmd::reset | ( | ) | [inline] |
void IpNetworkCreateCmd::set_allocType | ( | const string & | allocType | ) | [inline] |
Sets allocation type.
allocType | ip range allocation type |
void IpNetworkCreateCmd::set_asn | ( | const int | asn | ) | [inline] |
Sets asn.
asn | autonomous system number that is going to manage the ip range |
void IpNetworkCreateCmd::set_ipRange | ( | const IpRange & | ipRange | ) | [inline] |
Sets ip range.
ipRange | ip range |
void IpNetworkCreateCmd::set_organization | ( | const string & | organization | ) | [inline] |
Sets organization.
organization | organization to be associated with the ip range |