Main Page | Class Hierarchy | Class List | File List | Class Members | File Members

CmtContext Class Reference

#include <cmt.h>

Collaboration diagram for CmtContext:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 CmtContext ()
 ~CmtContext ()
void clear ()

Public Attributes

ActionType m_action
bool m_build_nmake
cmt_string m_cmt_config
cmt_string m_cmt_root
cmt_string m_cmt_home
cmt_string m_cmt_user_context
cmt_string m_cmt_site
cmt_string m_cmt_version
cmt_string m_current_dir
cmt_string m_current_package
cmt_string m_current_config
cmt_string m_current_path
cmt_string m_current_prefix
cmt_string m_current_cmtpath
cmt_string m_current_offset
AccessMode m_current_access
CmtDirStyle m_current_style
CmtStructuringStyle m_current_structuring_style
cmt_string m_current_tag
cmt_string m_current_target
cmt_string m_current_version
cmt_string m_extra_tags
cmt_string m_configure_error
bool m_debug
cmt_string m_default_path
bool m_quiet
bool m_recursive
CmtScopeFilteringMode m_scope_filtering_mode
bool m_simulation
bool m_standard_macros_done
bool m_all_sets_done
bool m_autoconfigure_cmtpath

Constructor & Destructor Documentation

CmtContext::CmtContext  ) 
 

Definition at line 45 of file cmt_parser.cxx.

References clear().

00046 {
00047   clear ();
00048 }

CmtContext::~CmtContext  ) 
 

Definition at line 50 of file cmt_parser.cxx.

00051 {
00052 }


Member Function Documentation

void CmtContext::clear  ) 
 

Definition at line 54 of file cmt_parser.cxx.

References action_none, cmt_style, default_filtering_mode, DeveloperMode, m_action, m_all_sets_done, m_autoconfigure_cmtpath, m_build_nmake, m_cmt_config, m_cmt_root, m_cmt_version, m_current_access, m_current_cmtpath, m_current_config, m_current_dir, m_current_offset, m_current_package, m_current_path, m_current_prefix, m_current_structuring_style, m_current_style, m_current_tag, m_current_target, m_current_version, m_debug, m_default_path, m_quiet, m_recursive, m_scope_filtering_mode, m_simulation, m_standard_macros_done, UserMode, and with_version_directory.

Referenced by Cmt::clear(), CmtContext(), and Cmt::configure().

00055 {
00056   m_action         = action_none;
00057   m_build_nmake    = false;
00058   m_cmt_config     = "";
00059   //m_cmt_path.clear ();
00060   //m_cmt_path_pwds.clear ();
00061   //m_cmt_path_sources.clear ();
00062   m_cmt_root       = "";
00063   m_cmt_version    = "";
00064   m_current_dir     = "";
00065   m_current_package = "";
00066   m_current_config  = "";
00067   m_current_path    = "";
00068   m_current_prefix  = "";
00069   m_current_cmtpath = "";
00070   m_current_offset  = "";
00071 
00072   m_current_access   = DeveloperMode;
00073 
00074   m_current_tag      = "";
00075   m_current_target   = "";
00076   m_current_version  = "";
00077   m_default_path     = "";
00078   m_quiet            = false;
00079   m_recursive        = false;
00080 
00081   m_scope_filtering_mode = default_filtering_mode;
00082   m_simulation       = false;
00083 
00084   m_standard_macros_done = false;
00085   m_current_access = UserMode;
00086   m_current_style = cmt_style;
00087   m_current_structuring_style = with_version_directory;
00088   m_all_sets_done = false;
00089   m_autoconfigure_cmtpath = false;
00090   m_debug = false;
00091   if (getenv ("CMTDEBUG") != 0) m_debug = true;
00092 }


Member Data Documentation

ActionType CmtContext::m_action
 

Definition at line 26 of file cmt.h.

Referenced by clear(), Cmt::configure_cmt_path(), Cmt::configure_tags(), ArgParser::do_awk(), ArgParser::do_broadcast(), ArgParser::do_build(), ArgParser::do_check(), ArgParser::do_check_files(), ArgParser::do_checkout(), ArgParser::do_cleanup(), ArgParser::do_config(), ArgParser::do_create(), ArgParser::do_create_project(), ArgParser::do_cvsbranches(), ArgParser::do_cvssubpackages(), ArgParser::do_cvssubprojects(), ArgParser::do_cvstags(), Cmt::do_do(), ArgParser::do_do(), ArgParser::do_expand(), ArgParser::do_filter(), Cmt::do_help(), ArgParser::do_lock(), ArgParser::do_remove(), ArgParser::do_run(), ArgParser::do_run_sequence(), ArgParser::do_set(), Cmt::do_set_versions(), ArgParser::do_setup(), ArgParser::do_show(), Cmt::do_show_action(), Cmt::do_show_macro(), ArgParser::do_system(), ArgParser::do_unlock(), ArgParser::do_version(), Cmt::get_action(), Cmt::load(), ArgParser::option_pack(), ArgParser::option_path(), ArgParser::option_use(), ArgParser::option_version(), ArgParser::parse(), Cmt::parse_arguments(), Cmt::parser(), Cmt::print_macros(), and Cmt::print_symbol_names().

bool CmtContext::m_all_sets_done
 

Definition at line 62 of file cmt.h.

Referenced by clear(), Cmt::get_all_sets_done(), Cmt::reset_all_sets_done(), and Cmt::set_all_sets_done().

bool CmtContext::m_autoconfigure_cmtpath
 

Definition at line 64 of file cmt.h.

Referenced by clear(), Cmt::configure(), Cmt::configure_cmt_path(), and Cmt::guess_current_project().

bool CmtContext::m_build_nmake
 

Definition at line 27 of file cmt.h.

Referenced by Cmt::build_nmake(), clear(), ArgParser::do_build(), and Cmt::parse_arguments().

cmt_string CmtContext::m_cmt_config
 

Definition at line 28 of file cmt.h.

Referenced by clear(), Cmt::configure_config_tag(), Cmt::do_config(), Cmt::do_create(), Cmt::do_remove(), and Cmt::load().

cmt_string CmtContext::m_cmt_home
 

Definition at line 30 of file cmt.h.

Referenced by Cmt::configure_cmt_path(), Cmt::configure_home(), Cmt::get_cmt_home(), ArgParser::option_home(), and Cmt::use_home_requirements().

cmt_string CmtContext::m_cmt_root
 

Definition at line 29 of file cmt.h.

Referenced by clear(), Cmt::configure_default_path(), Cmt::do_build_CMT_pacman(), Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::install_test_cleanup_scripts(), and Cmt::install_test_setup_scripts().

cmt_string CmtContext::m_cmt_site
 

Definition at line 32 of file cmt.h.

Referenced by Cmt::configure_site_tag().

cmt_string CmtContext::m_cmt_user_context
 

Definition at line 31 of file cmt.h.

Referenced by Cmt::configure_cmt_path(), Cmt::configure_user_context(), Cmt::get_cmt_user_context(), ArgParser::option_user_context(), Cmt::use_special_requirements(), and Cmt::use_user_context_requirements().

cmt_string CmtContext::m_cmt_version
 

Definition at line 33 of file cmt.h.

Referenced by clear(), Cmt::configure_current_dir(), Cmt::configure_default_path(), Cmt::do_config(), Cmt::do_create(), Cmt::do_remove(), Cmt::get_cmt_version(), and Cmt::use_cmt().

cmt_string CmtContext::m_configure_error
 

Definition at line 52 of file cmt.h.

Referenced by Cmt::configure(), and Cmt::parser().

AccessMode CmtContext::m_current_access
 

Definition at line 43 of file cmt.h.

Referenced by clear(), ArgParser::do_lock(), ArgParser::do_unlock(), Cmt::get_current_access(), Cmt::load(), ArgParser::option_pack(), ArgParser::option_path(), ArgParser::option_use(), ArgParser::option_version(), Cmt::parser(), and Cmt::set_current_access().

cmt_string CmtContext::m_current_cmtpath
 

Definition at line 40 of file cmt.h.

Referenced by clear(), Cmt::configure_current_cmtpath(), and Cmt::get_current_cmtpath().

cmt_string CmtContext::m_current_config
 

Definition at line 37 of file cmt.h.

Referenced by clear(), Cmt::configure_current_package(), Cmt::load(), and Cmt::reach_current_package().

cmt_string CmtContext::m_current_dir
 

Definition at line 35 of file cmt.h.

Referenced by clear(), Cmt::configure_current_dir(), Cmt::configure_current_package(), Cmt::do_config(), Cmt::do_create(), Cmt::do_show_pwd(), Cmt::get_current_dir(), Cmt::guess_current_project(), Cmt::load(), and Cmt::set_standard_macros().

cmt_string CmtContext::m_current_offset
 

Definition at line 41 of file cmt.h.

Referenced by clear(), Cmt::configure_current_cmtpath(), and Cmt::get_current_offset().

cmt_string CmtContext::m_current_package
 

Definition at line 36 of file cmt.h.

Referenced by clear(), Cmt::configure(), Cmt::configure_current_package(), Cmt::do_build_constituents_makefile(), Cmt::do_build_make_setup(), Cmt::do_config(), Cmt::do_create(), ArgParser::do_lock(), Cmt::do_remove(), ArgParser::do_remove(), ArgParser::do_unlock(), Cmt::get_current_package(), Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::load(), ArgParser::option_pack(), ArgParser::option_path(), ArgParser::option_use(), ArgParser::option_version(), Cmt::parser(), Cmt::print_clean(), Cmt::reach_current_package(), Cmt::set_standard_macros(), Cmt::use_cmt(), and Cmt::use_special_requirements().

cmt_string CmtContext::m_current_path
 

Definition at line 38 of file cmt.h.

Referenced by clear(), Cmt::configure(), Cmt::configure_current_package(), Cmt::do_config(), Cmt::do_create(), Cmt::do_lock(), ArgParser::do_lock(), Cmt::do_remove(), ArgParser::do_remove(), Cmt::do_unlock(), ArgParser::do_unlock(), Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::install_test_cleanup_scripts(), Cmt::install_test_setup_scripts(), Cmt::load(), ArgParser::option_pack(), ArgParser::option_path(), ArgParser::option_use(), ArgParser::option_version(), Cmt::parser(), and Cmt::reach_current_package().

cmt_string CmtContext::m_current_prefix
 

Definition at line 39 of file cmt.h.

Referenced by clear(), Cmt::configure_current_package(), Cmt::load(), Cmt::print_clean(), Cmt::reach_current_package(), and Cmt::set_standard_macros().

CmtStructuringStyle CmtContext::m_current_structuring_style
 

Definition at line 45 of file cmt.h.

Referenced by clear(), Cmt::configure_current_structuring_style(), Cmt::do_create(), Cmt::do_show_strategies(), Cmt::get_current_structuring_style(), ArgParser::option_with_version_directory(), and ArgParser::option_without_version_directory().

CmtDirStyle CmtContext::m_current_style
 

Definition at line 44 of file cmt.h.

Referenced by clear(), Cmt::configure(), Cmt::configure_current_package(), Cmt::do_config(), Cmt::do_create(), Cmt::get_current_style(), Cmt::load(), Cmt::reach_current_package(), and Cmt::set_standard_macros().

cmt_string CmtContext::m_current_tag
 

Definition at line 47 of file cmt.h.

Referenced by clear(), Cmt::configure_tags(), Cmt::load(), ArgParser::option_tag(), ArgParser::option_tag_remove(), Cmt::parser(), Cmt::print(), Cmt::reach_current_package(), and Cmt::set_standard_macros().

cmt_string CmtContext::m_current_target
 

Definition at line 48 of file cmt.h.

Referenced by clear(), ArgParser::do_show(), and Cmt::get_current_target().

cmt_string CmtContext::m_current_version
 

Definition at line 49 of file cmt.h.

Referenced by clear(), Cmt::configure(), Cmt::configure_current_package(), Cmt::do_config(), Cmt::do_create(), Cmt::do_lock(), ArgParser::do_lock(), Cmt::do_remove(), ArgParser::do_remove(), Cmt::do_show_version(), Cmt::do_unlock(), ArgParser::do_unlock(), Cmt::get_current_version(), Cmt::install_cleanup_scripts(), Cmt::install_setup_scripts(), Cmt::install_test_cleanup_scripts(), Cmt::load(), ArgParser::option_pack(), ArgParser::option_path(), ArgParser::option_use(), ArgParser::option_version(), Cmt::parser(), Cmt::reach_current_package(), and Cmt::set_standard_macros().

bool CmtContext::m_debug
 

Definition at line 54 of file cmt.h.

Referenced by clear(), Cmt::configure_current_package(), Cmt::configure_user_context(), Cmt::do_config(), Cmt::do_create(), Cmt::get_debug(), Cmt::load(), Cmt::parser(), Cmt::print(), Cmt::reach_current_package(), Cmt::set_standard_macros(), and Cmt::use_cmt().

cmt_string CmtContext::m_default_path
 

Definition at line 56 of file cmt.h.

Referenced by clear(), Cmt::configure_current_dir(), Cmt::configure_default_path(), Cmt::do_config(), Cmt::load(), Cmt::use_cmt(), and Cmt::use_special_requirements().

cmt_string CmtContext::m_extra_tags
 

Definition at line 51 of file cmt.h.

Referenced by Cmt::do_check_configuration(), ArgParser::option_tag(), ArgParser::option_tag_add(), ArgParser::option_tag_remove(), Cmt::print(), and Cmt::restore_all_tags().

bool CmtContext::m_quiet
 

Definition at line 57 of file cmt.h.

Referenced by clear(), Cmt::do_broadcast(), ArgParser::do_build(), ArgParser::do_check(), ArgParser::do_check_files(), ArgParser::do_checkout(), Cmt::do_config(), ArgParser::do_create(), ArgParser::do_create_project(), ArgParser::do_cvsbranches(), ArgParser::do_cvstags(), ArgParser::do_do(), ArgParser::do_expand(), ArgParser::do_filter(), ArgParser::do_lock(), ArgParser::do_remove(), Cmt::do_remove_library_links(), ArgParser::do_run(), ArgParser::do_run_sequence(), ArgParser::do_set(), ArgParser::do_show(), Cmt::do_show_tags(), ArgParser::do_unlock(), Cmt::get_quiet(), Cmt::guess_current_project(), Cmt::load(), ArgParser::option_quiet(), ArgParser::parse(), Cmt::parser(), and Cmt::reach_current_package().

bool CmtContext::m_recursive
 

Definition at line 58 of file cmt.h.

Referenced by clear(), Cmt::get_recursive(), Cmt::load(), Cmt::parser(), Cmt::use_cmt(), and Cmt::use_special_requirements().

CmtScopeFilteringMode CmtContext::m_scope_filtering_mode
 

Definition at line 59 of file cmt.h.

Referenced by clear(), ArgParser::do_broadcast(), ArgParser::do_set(), ArgParser::do_show(), Cmt::get_scope_filtering_mode(), ArgParser::option_private(), ArgParser::option_public(), and Cmt::set_scope_filtering_mode().

bool CmtContext::m_simulation
 

Definition at line 60 of file cmt.h.

Referenced by Cmt::build_makefile(), Cmt::build_msdev_file(), Cmt::build_vsnet_file(), clear(), ArgParser::option_n(), and Cmt::parser().

bool CmtContext::m_standard_macros_done
 

Definition at line 61 of file cmt.h.

Referenced by clear(), and Cmt::set_standard_macros().


The documentation for this class was generated from the following files:
Generated on Mon May 2 10:25:32 2005 for CMT by doxygen 1.3.5