project_identifier_subset_branch Class Reference

#include <branch.h>

Inheritance diagram for project_identifier_subset_branch:

project_identifier_subset

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_tyget_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_branchoperator= (const project_identifier_subset_branch &)

Private Attributes

project_identifier_subsetdeeper
project_typp_with_branch
const char * branch
bool grandparent
bool trunk

Detailed Description

The project_identifier_subset_branch class is used to represent the project branch identified (implictly or implicitly) by --project and --branch command line options.

Definition at line 30 of file branch.h.


Constructor & Destructor Documentation

virtual project_identifier_subset_branch::~project_identifier_subset_branch (  )  [virtual]

The destructor.

project_identifier_subset_branch::project_identifier_subset_branch ( project_identifier_subset  ) 

The constructor.

project_identifier_subset_branch::project_identifier_subset_branch (  )  [private]

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.


Member Function Documentation

void project_identifier_subset_branch::command_line_parse ( usage_t   ) 

void project_identifier_subset_branch::command_line_check ( usage_t   ) 

project_ty* 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.

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.

Parameters:
login The login name of the user.

Implements project_identifier_subset.

void project_identifier_subset_branch::parse_change_with_branch ( long &  change_number,
usage_t  usage 
)

void project_identifier_subset_branch::parse_change_with_branch ( long &  change_number,
const char *&  branch,
usage_t  usage 
)

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.

project_identifier_subset_branch& project_identifier_subset_branch::operator= ( const project_identifier_subset_branch  )  [private]

The assignment operator. Do not use.


Field Documentation

The deeper instance variable is used to remember the base project to which our branch refers.

Definition at line 80 of file branch.h.

The pp_with_branch instance variable is usedc to remember which project branch we are bound to.

Definition at line 86 of file branch.h.

The branch instance variable is used to remember any --branch command line option specified. This could be implicit.

Definition at line 92 of file branch.h.

The grandparent instance variable is used to remember wether or not the --grandparent command line option has been specified.

Definition at line 98 of file branch.h.

The trunk instance variable is used to remember wether or not the --trunk command line option has been specified.

Definition at line 104 of file branch.h.


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

Generated on Wed Mar 12 23:37:41 2008 for Aegis by  doxygen 1.5.5