|
Aegis
4.25.D505
|
#include <identifi_sub.h>
The change_identifier_subset class is used to represent a change and its context, as identified by all the diffent command line options used to specify a change set. It only operates on the change portion of the identification; the project portion is a separate class and instance.
Definition at line 40 of file identifi_sub.h.
anonymous enum [private] |
Definition at line 295 of file identifi_sub.h.
The destructor. It isn't virtual; thou shalt not derive from this class.
The constructor.
| change_identifier_subset::change_identifier_subset | ( | ) | [private] |
The default constructor. Do not use.
| change_identifier_subset::change_identifier_subset | ( | const change_identifier_subset & | ) | [private] |
The copy constructor. Do not use.
| void change_identifier_subset::command_line_check | ( | void(*)(void) | usage | ) |
The command_line_check method is used to verify that sensable command line options have been specified, once the parse has completed.
| void change_identifier_subset::command_line_parse | ( | void(*)(void) | usage | ) |
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: -BaseLine [ -Change] number -Development_Directory -BRanch number -TRunk -GrandParent -DELta number -DELta name -DELta_Date when [ -Project ] string
The error_if_no_explicit_change_number is used to emit a fatal_intl error if no change number was specified on the command line.
| void change_identifier_subset::error_if_no_explicit_delta | ( | void | ) |
The error_if_no_explicit_delta is used to emit a fatal_intl error if no delta number was specified on the command line (in any of the several forms).
| bool change_identifier_subset::get_baseline | ( | void | ) | [inline] |
The get_baseline method is used to determine whether the --baseline option has been specified.
Definition at line 104 of file identifi_sub.h.
The get_bogus_cp method is used to get the change pointer for a bogus change. It is an error if a real change was specified.
| long change_identifier_subset::get_change_number | ( | void | ) |
The get_change_number method is used to obtain the change number for the identified change.
The get_change_version_string methof is used to get the version string for the change.
The get_cp method is used to get the change pointer for the change identified.
| bool change_identifier_subset::get_devdir | ( | void | ) |
The get_devdir method is used to determine of the --Development-Directory option has been given, or is implied.
| file_revision change_identifier_subset::get_file_revision | ( | const nstring & | filename, |
| change_functor & | bad_state | ||
| ) |
The get_file_revision is used to determine the path to the given file at the time specified by the change ID. It must be called after the set_change method has been called.
| filename | The name of the file in question |
| bad_state | What to do if the change is in an inappropriate state for this operation. |
| file_revision change_identifier_subset::get_file_revision | ( | fstate_src_ty * | src, |
| change_functor & | bad_state | ||
| ) |
The get_file_revision is used to determine the path to the given file at the time specified by the change ID. It must be called after the set_change method has been called.
| src | The file meta data (revions, if set, will be ignored) |
| bad_state | What to do if the change is in an inappropriate state for this operation. |
| project_file_roll_forward* change_identifier_subset::get_historian | ( | bool | detailed = false | ) |
The get_historian method is used to obtain the location of the historical file reconstructor.
| detailed | true if you want a detailed history (recurse into branch contents), or false if the simple report is enough. The default is not to provide a detailed listing. |
| project* change_identifier_subset::get_pp | ( | void | ) | [inline] |
The get_pp method is used to get the project pointer for the change identified.
Definition at line 193 of file identifi_sub.h.
| fstate_src_ty* change_identifier_subset::get_project_file | ( | const nstring & | file_name | ) |
The get_project_file method is used to obtain the details about a named file, taking any --delta* options into account.
| file_name | The name of the file of interest. |
| void change_identifier_subset::get_project_file_names | ( | nstring_list & | results | ) |
The get_project_files method is used to obtain a list of the project's file, taking --delta options into account if specified.
| results | The string list to which the file names are appended. |
| user_ty::pointer change_identifier_subset::get_up | ( | void | ) | [inline] |
The get_up method is used to get the user pointer for the change identified.
Definition at line 199 of file identifi_sub.h.
| void change_identifier_subset::invalidate_meta_data | ( | void | ) |
The invalidate_meta_data method is used to discard cached information about the change. This is usually necessary when a sub-command is run and that subcommand would update the change meta-data.
| bool change_identifier_subset::need_historical_perspective | ( | void | ) | const [private] |
The need_historical_perspective method is used to determine whether or not access to project files should be direct (false) or via the historian (false).
| change_identifier_subset& change_identifier_subset::operator= | ( | const change_identifier_subset & | ) | [private] |
The assignment operator. Do not use.
| bool change_identifier_subset::set | ( | void | ) | const |
The set method is used to determine if this chaneg ID has been set yet (via any one of several command line options).
| void change_identifier_subset::set_baseline | ( | void | ) | [inline] |
The set_baseline method is used to specify that the baseline is the change being identified.
Definition at line 98 of file identifi_sub.h.
| void change_identifier_subset::set_change | ( | void | ) |
The set_change method is used after the set_project method has been called. It is used to bind to the appropriate change.
| void change_identifier_subset::set_delta_from_baseline | ( | void | ) |
The set_delta_from_baseline method may be used to set the change from the the change of the branch (the baseline).
| void change_identifier_subset::set_delta_from_branch_head | ( | void | ) |
The set_delta_from_branch_head method may be used to set the change from the current head revision of the branch.
| void change_identifier_subset::set_project | ( | void | ) |
The set_project method is used after the command_line_check method has been called. It is used to bind to the appropriate project for the change identified.
The set_project_name method is used to set the name of the project to be accessed.
| void change_identifier_subset::set_user_by_name | ( | nstring & | login | ) | [inline] |
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. |
Definition at line 209 of file identifi_sub.h.
bool change_identifier_subset::baseline [private] |
The baseline instance variable is used to remember wether or not the --baseline command line option has been specified.
Definition at line 301 of file identifi_sub.h.
long change_identifier_subset::change_number [private] |
The change_number instance variable is used to remember any --change command line option specified. This could be implicit.
Definition at line 313 of file identifi_sub.h.
change::pointer change_identifier_subset::cp [private] |
The cp instance variable is used to remember which change we are bound to.
Definition at line 338 of file identifi_sub.h.
long change_identifier_subset::delta_date [private] |
The delta_date instance variable is used to remember any --delta-date command line option specified. This could be implicit.
Definition at line 320 of file identifi_sub.h.
nstring change_identifier_subset::delta_name [private] |
The delta_name instance variable is used to remember any --delta-name command line option specified.
Definition at line 326 of file identifi_sub.h.
long change_identifier_subset::delta_number [private] |
The delta_number instance variable is used to remember any --delta command line option specified. This could be implicit.
Definition at line 332 of file identifi_sub.h.
bool change_identifier_subset::devdir [private] |
The devdir instance variable is used to remember wether or not the --devdir command line option has been specified.
Definition at line 307 of file identifi_sub.h.
The historian_p instance variable is used to remember the location of the historical file reconstructor. Shall only be accessed by the get_historian method.
Definition at line 345 of file identifi_sub.h.
The pid instance variable is used to remember which project goes with this change.
Definition at line 293 of file identifi_sub.h.
1.7.6.1