SheppObjSet Class Reference

shepp specific objects information setting class More...

#include <SheppObjSet.H>

List of all members.

Static Public Member Functions

static int authInfo (AuthInfo &auth, vector< string > &words)
 fills an AuthInfo based on input command line
static int nameServer (NameServer &ns, vector< string > &words)
 fills a NameServer based on input command line
static int status (DomainUpdateCmd::Status &st, vector< string > &words)
 fills a Status based on input command line
static int postalInfo (PostalInfo &postal, vector< string > &words, string &error_msg, bool relaxed)
 fills a PostalInfo based on input command line
static int phone (CommonData::Phone &phone, vector< string > &words)
 fills a Phone based on input command line
static int disclose (CommonData::Disclose &disclose, string word)
 fills a Disclose based on input command line
static int contacts (map< string, string, less< string > > &contacts, string args, string &error_msg)
 fills a map of contacts based on input command line


Detailed Description

shepp specific objects information setting class


Member Function Documentation

static int SheppObjSet::authInfo AuthInfo auth,
vector< string > &  words
[inline, static]
 

fills an AuthInfo based on input command line

Parameters:
auth reference to an AuthInfo object to be set
words vector with command-line arguments
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::contacts map< string, string, less< string > > &  contacts,
string  args,
string &  error_msg
[inline, static]
 

fills a map of contacts based on input command line

Parameters:
contacts reference to the map of contacts to be filled
args input string with contacts info
error_msg string to hold error msg on return -1
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::disclose CommonData::Disclose &  disclose,
string  word
[inline, static]
 

fills a Disclose based on input command line

Parameters:
disclose reference to a Disclose object to be set
word input string with disclose info
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::nameServer NameServer &  ns,
vector< string > &  words
[inline, static]
 

fills a NameServer based on input command line

Parameters:
ns reference to a NameServer object to be set
words vector with command-line arguments
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::phone CommonData::Phone &  phone,
vector< string > &  words
[inline, static]
 

fills a Phone based on input command line

Parameters:
phone reference to a Phone object to be set
words vector with command-line arguments
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::postalInfo PostalInfo postal,
vector< string > &  words,
string &  error_msg,
bool  relaxed
[inline, static]
 

fills a PostalInfo based on input command line

Parameters:
postal reference to a PostalInfo object to be set
words vector with command-line arguments
error_msg string to hold error msg on return -1
relaxed true for update, false for create
Returns:
0 if ok, -1 otherwise

static int SheppObjSet::status DomainUpdateCmd::Status &  st,
vector< string > &  words
[inline, static]
 

fills a Status based on input command line

Parameters:
status reference to a Status object to be set
words vector with command-line arguments
Returns:
0 if ok, -1 otherwise


The documentation for this class was generated from the following file:
Generated on Thu Jun 8 17:40:01 2006 for libepp_nicbr by  doxygen 1.4.6