|
Aegis
4.25.D505
|
#include <branch.h>
Public Member Functions | |
| virtual | ~project_identifier_subset_branch () |
| project_identifier_subset_branch (project_identifier_subset &) | |
| void | command_line_parse (usage_t) |
| void | command_line_check (usage_t) |
| project * | 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, usage_t usage) |
| bool | set () const |
Private Member Functions | |
| project_identifier_subset_branch () | |
| project_identifier_subset_branch (const project_identifier_subset_branch &) | |
| project_identifier_subset_branch & | operator= (const project_identifier_subset_branch &) |
Private Attributes | |
| project_identifier_subset & | deeper |
| project * | pp_with_branch |
| const char * | branch |
| bool | grandparent |
| bool | trunk |
The project_identifier_subset_branch class is used to represent the project branch identified (implictly or implicitly) by --project and --branch command line options.
| virtual project_identifier_subset_branch::~project_identifier_subset_branch | ( | ) | [virtual] |
The destructor.
The constructor.
The default constructor. Do not use.
| project_identifier_subset_branch::project_identifier_subset_branch | ( | const project_identifier_subset_branch & | ) | [private] |
The copy constructor. Do not use.
| void project_identifier_subset_branch::command_line_check | ( | usage_t | ) | [virtual] |
The command_line_check method is used to verify that sensable command line options have been specified, once the parse has completed.
Implements project_identifier_subset.
| void project_identifier_subset_branch::command_line_parse | ( | usage_t | ) | [virtual] |
The command_line_parse method is used to parse command line options (via the arglex() fucntion) to set the change ID. The current token is expected to be meaningful for identifying a change. The position will be advanced past all relevant tokens.
It understands all of the following command line options: [ -Project ] string
Implements project_identifier_subset.
| project* project_identifier_subset_branch::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_branch::get_up | ( | ) | [virtual] |
The get_up method is used to get the user pointer for the change identified.
Implements project_identifier_subset.
| project_identifier_subset_branch& project_identifier_subset_branch::operator= | ( | const project_identifier_subset_branch & | ) | [private] |
The assignment operator. Do not use.
| void project_identifier_subset_branch::parse_change_with_branch | ( | long & | change_number, |
| usage_t | usage | ||
| ) | [virtual] |
The parse_change_with_branch method is used to parse the --change command line option, which may be in a number of forms.
This method should only be called from the change_identifier_subset::command_line_parse method.
Implements project_identifier_subset.
| void project_identifier_subset_branch::parse_change_with_branch | ( | long & | change_number, |
| const char *& | branch_arg, | ||
| usage_t | usage | ||
| ) | [virtual] |
The parse_change_with_branch method is used to parse the --change command line option, when it could be given a 1.2.C345 style number.
This method should only be called from the change_identifier_subset::command_line_parse method.
Implements project_identifier_subset.
| bool project_identifier_subset_branch::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.
| void project_identifier_subset_branch::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.
const char* project_identifier_subset_branch::branch [private] |
bool project_identifier_subset_branch::grandparent [private] |
bool project_identifier_subset_branch::trunk [private] |
1.7.6.1