#include <plain.h>
Public Member Functions | |
virtual | ~project_identifier_subset_plain () |
project_identifier_subset_plain () | |
void | command_line_parse (usage_t) |
void | command_line_check (usage_t) |
project_ty * | get_pp () |
user_ty::pointer | get_up () |
void | set_user_by_name (nstring &login) |
void | parse_change_with_branch (long &change_number, usage_t usage) |
void | parse_change_with_branch (long &change_number, const char *&branch_arg, usage_t usage) |
bool | set () const |
Private Member Functions | |
project_identifier_subset_plain (const project_identifier_subset_plain &) | |
project_identifier_subset_plain & | operator= (const project_identifier_subset_plain &) |
Private Attributes | |
string_ty * | project_name |
project_ty * | pp |
user_ty::pointer | up |
Definition at line 30 of file plain.h.
virtual project_identifier_subset_plain::~project_identifier_subset_plain | ( | ) | [virtual] |
The destructor.
project_identifier_subset_plain::project_identifier_subset_plain | ( | ) |
The default constructor.
project_identifier_subset_plain::project_identifier_subset_plain | ( | const project_identifier_subset_plain & | ) | [private] |
The copy constructor. Do not use.
void project_identifier_subset_plain::command_line_parse | ( | usage_t | ) |
void project_identifier_subset_plain::command_line_check | ( | usage_t | ) |
project_ty* project_identifier_subset_plain::get_pp | ( | ) | [virtual] |
The get_pp method is used to get the project pointer for the change identified.
Implements project_identifier_subset.
user_ty::pointer project_identifier_subset_plain::get_up | ( | ) | [virtual] |
The get_up method is used to get the user pointer for the change identified.
Implements project_identifier_subset.
void project_identifier_subset_plain::set_user_by_name | ( | nstring & | login | ) | [virtual] |
The set_user_by_name method is used to set the user name by name. This is useful for the small set of command which accept a user name on the command line.
login | The login name of the user. |
Implements project_identifier_subset.
void project_identifier_subset_plain::parse_change_with_branch | ( | long & | change_number, | |
usage_t | usage | |||
) |
void project_identifier_subset_plain::parse_change_with_branch | ( | long & | change_number, | |
const char *& | branch_arg, | |||
usage_t | usage | |||
) |
bool project_identifier_subset_plain::set | ( | ) | const [virtual] |
The set method may be used to determine whether or not the project name has been set yet (either indirectly or directly). If you test this early enough, you will know if the project name was specified on the command line.
Implements project_identifier_subset.
project_identifier_subset_plain& project_identifier_subset_plain::operator= | ( | const project_identifier_subset_plain & | ) | [private] |
The assignment operator. Do not use.
project_ty* project_identifier_subset_plain::pp [private] |