Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

cmt_parser.h File Reference

#include "cmt_std.h"
#include "cmt_string.h"
#include "cmt_vector.h"
#include "cmt.h"

Include dependency graph for cmt_parser.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define SLASH   '/'

Typedefs

typedef UseUseRef

Enumerations

enum  PrintMode { Csh, Sh, Bat, Make }
enum  CmtDirStyle { mgr_style, cmt_style, none_style }
enum  CommandType {
  CommandNone, CommandAlias, CommandApplication, CommandApplyPattern,
  CommandAuthor, CommandBranches, CommandBuildStrategy, CommandCleanupScript,
  CommandDocument, CommandIgnorePattern, CommandIncludeDirs, CommandIncludePath,
  CommandLanguage, CommandLibrary, CommandMacro, CommandMacroPrepend,
  CommandMacroAppend, CommandMacroRemove, CommandMacroRemoveAll, CommandMakeFragment,
  CommandManager, CommandPackage, CommandPath, CommandPathAppend,
  CommandPathPrepend, CommandPathRemove, CommandPattern, CommandPrivate,
  CommandPublic, CommandSet, CommandSetAppend, CommandSetPrepend,
  CommandSetRemove, CommandSetupScript, CommandTag, CommandTagExclude,
  CommandUse, CommandVersion, CommandVersionStrategy, Commands
}
enum  AccessMode { DeveloperMode, UserMode }
enum  ScopeType { ScopeUnspecified, ScopePublic, ScopePrivate }
enum  State { Unspecified = -1, Off = 0, On = 1 }
enum  Priority {
  PriorityLowest = 0, PriorityDefault = 1, PriorityUname = 2, PrioritySite = 3,
  PriorityUserTag = 4, PriorityTag = 5, PriorityConfig = 6, PriorityArgument = 7
}
enum  ScriptType { SetupScript, CleanupScript }
enum  VersionStrategy {
  BestFit, BestFitNoCheck, FirstChoice, LastChoice,
  KeepAll, Strategies
}
enum  BuildStrategy {
  PrototypesMask = 0x1, Prototypes = 0x0, NoPrototypes = PrototypesMask, KeepMakefilesMask = 0x2,
  RebuildMakefiles = 0x0, KeepMakefiles = KeepMakefilesMask, DefaultBuildStrategy = Prototypes | RebuildMakefiles
}
enum  ConstituentType { Application, Library, Document }
enum  ActionType {
  action_none, action_awk, action_broadcast, action_build_constituent_makefile,
  action_build_constituents_makefile, action_build_dependencies, action_build_library_links, action_build_make_setup,
  action_build_msdev, action_build_os9_makefile, action_build_prototype, action_build_readme,
  action_build_tag_makefile, action_build_temporary_name, action_build_triggers, action_build_windefs,
  action_check_configuration, action_check_files, action_check_version, action_checkout,
  action_cleanup, action_config, action_create, action_cvsbranches,
  action_cvssubpackages, action_cvstags, action_expand_model, action_filter,
  action_help, action_load, action_lock, action_remove,
  action_remove_library_links, action_run, action_run_sequence, action_setup,
  action_show_all_tags, action_show_applied_patterns, action_show_author, action_show_branches,
  action_show_clients, action_show_constituent, action_show_constituent_names, action_show_constituents,
  action_show_fragment, action_show_fragments, action_show_groups, action_show_include_dirs,
  action_show_language, action_show_languages, action_show_macro, action_show_macro_names,
  action_show_macro_value, action_show_macros, action_show_manager, action_show_packages,
  action_show_path, action_show_pattern, action_show_pattern_names, action_show_patterns,
  action_show_pwd, action_show_set, action_show_set_names, action_show_set_value,
  action_show_sets, action_show_strategies, action_show_tags, action_show_uses,
  action_show_version, action_show_versions, action_system, action_unlock,
  action_version
}


Define Documentation

#define SLASH   '/'
 

Definition at line 237 of file cmt_parser.h.


Typedef Documentation

typedef Use* UseRef
 

Definition at line 240 of file cmt_parser.h.


Enumeration Type Documentation

enum AccessMode
 

Enumeration values:
DeveloperMode  
UserMode  

Definition at line 76 of file cmt_parser.h.

00077 {
00078   DeveloperMode,
00079   UserMode
00080 }

enum ActionType
 

Enumeration values:
action_none  
action_awk  
action_broadcast  
action_build_constituent_makefile  
action_build_constituents_makefile  
action_build_dependencies  
action_build_library_links  
action_build_make_setup  
action_build_msdev  
action_build_os9_makefile  
action_build_prototype  
action_build_readme  
action_build_tag_makefile  
action_build_temporary_name  
action_build_triggers  
action_build_windefs  
action_check_configuration  
action_check_files  
action_check_version  
action_checkout  
action_cleanup  
action_config  
action_create  
action_cvsbranches  
action_cvssubpackages  
action_cvstags  
action_expand_model  
action_filter  
action_help  
action_load  
action_lock  
action_remove  
action_remove_library_links  
action_run  
action_run_sequence  
action_setup  
action_show_all_tags  
action_show_applied_patterns  
action_show_author  
action_show_branches  
action_show_clients  
action_show_constituent  
action_show_constituent_names  
action_show_constituents  
action_show_fragment  
action_show_fragments  
action_show_groups  
action_show_include_dirs  
action_show_language  
action_show_languages  
action_show_macro  
action_show_macro_names  
action_show_macro_value  
action_show_macros  
action_show_manager  
action_show_packages  
action_show_path  
action_show_pattern  
action_show_pattern_names  
action_show_patterns  
action_show_pwd  
action_show_set  
action_show_set_names  
action_show_set_value  
action_show_sets  
action_show_strategies  
action_show_tags  
action_show_uses  
action_show_version  
action_show_versions  
action_system  
action_unlock  
action_version  

Definition at line 156 of file cmt_parser.h.

00157 {
00158   action_none,
00159   action_awk,
00160   action_broadcast,
00161 
00162   action_build_constituent_makefile,
00163   action_build_constituents_makefile,
00164   action_build_dependencies,
00165   action_build_library_links,
00166   action_build_make_setup,
00167   action_build_msdev,
00168   action_build_os9_makefile,
00169   action_build_prototype,
00170   action_build_readme,
00171   action_build_tag_makefile,
00172   action_build_temporary_name,
00173   action_build_triggers,
00174   action_build_windefs,
00175 
00176   action_check_configuration,
00177   action_check_files,
00178   action_check_version,
00179   action_checkout,          // HSG - add to handle the checkout command
00180   action_cleanup,
00181   action_config,
00182   action_create,
00183   action_cvsbranches,
00184   action_cvssubpackages,
00185   action_cvstags,
00186   action_expand_model,
00187   action_filter,            // CA  - handle free text filtering
00188   action_help,
00189   action_load,
00190   action_lock,
00191   action_remove,
00192   action_remove_library_links,
00193   action_run,
00194   action_run_sequence,
00195   action_setup,
00196 
00197   action_show_all_tags,
00198   action_show_applied_patterns,
00199   action_show_author,                // s a
00200   action_show_branches,              // s b
00201   action_show_clients,               // s cl
00202   action_show_constituent,
00203   action_show_constituent_names,     // s c...
00204   action_show_constituents,          // s c...
00205   action_show_fragment,              // s f
00206   action_show_fragments,             // s fragments
00207   action_show_groups,                // s groups
00208   action_show_include_dirs,
00209   action_show_language,              // s l
00210   action_show_languages,             // s languages
00211   action_show_macro,                 // s m
00212   action_show_macro_names,
00213   action_show_macro_value,           // s macro_value
00214   action_show_macros,                // s macros
00215   action_show_manager,               // s manager
00216   action_show_packages,              // s packages
00217   action_show_path,                  // s path
00218   action_show_pattern,
00219   action_show_pattern_names,
00220   action_show_patterns,
00221   action_show_pwd,                   // s pwd
00222   action_show_set,                   // s s
00223   action_show_set_names,
00224   action_show_set_value,             // s set_value
00225   action_show_sets,                  // s sets
00226   action_show_strategies,            // s strategies
00227   action_show_tags,                  // s tags
00228   action_show_uses,                  // s u
00229   action_show_version,               // s version
00230   action_show_versions,              // s versions
00231 
00232   action_system,
00233   action_unlock,
00234   action_version
00235 }

enum BuildStrategy
 

Enumeration values:
PrototypesMask  
Prototypes  
NoPrototypes  
KeepMakefilesMask  
RebuildMakefiles  
KeepMakefiles  
DefaultBuildStrategy  

Definition at line 133 of file cmt_parser.h.

00134 {
00135   PrototypesMask = 0x1,
00136   Prototypes = 0x0,
00137   NoPrototypes = PrototypesMask,
00138 
00139   KeepMakefilesMask = 0x2,
00140   RebuildMakefiles = 0x0,
00141   KeepMakefiles = KeepMakefilesMask,
00142 
00143   DefaultBuildStrategy = Prototypes | RebuildMakefiles
00144 }

enum CmtDirStyle
 

Enumeration values:
mgr_style  
cmt_style  
none_style  

Definition at line 16 of file cmt_parser.h.

00017 {
00018   mgr_style,
00019   cmt_style,
00020   none_style
00021 }

enum CommandType
 

Enumeration values:
CommandNone  
CommandAlias  
CommandApplication  
CommandApplyPattern  
CommandAuthor  
CommandBranches  
CommandBuildStrategy  
CommandCleanupScript  
CommandDocument  
CommandIgnorePattern  
CommandIncludeDirs  
CommandIncludePath  
CommandLanguage  
CommandLibrary  
CommandMacro  
CommandMacroPrepend  
CommandMacroAppend  
CommandMacroRemove  
CommandMacroRemoveAll  
CommandMakeFragment  
CommandManager  
CommandPackage  
CommandPath  
CommandPathAppend  
CommandPathPrepend  
CommandPathRemove  
CommandPattern  
CommandPrivate  
CommandPublic  
CommandSet  
CommandSetAppend  
CommandSetPrepend  
CommandSetRemove  
CommandSetupScript  
CommandTag  
CommandTagExclude  
CommandUse  
CommandVersion  
CommandVersionStrategy  
Commands  

Definition at line 26 of file cmt_parser.h.

00027 {
00028   CommandNone,
00029   CommandAlias,            /* alias            */
00030   CommandApplication,      /* application      */
00031   CommandApplyPattern,     /* apply_pattern    */
00032   CommandAuthor,           /* author           */
00033   CommandBranches,         /* branch           */
00034   CommandBuildStrategy,    /* build strategy   */
00035   CommandCleanupScript,    /* user script      */
00036   CommandDocument,         /* document         */
00037   CommandIgnorePattern,    /* ignore_pattern   */
00038   CommandIncludeDirs,      /* include_dirs     */
00039   CommandIncludePath,      /* include_path     */
00040   CommandLanguage,         /* language         */
00041   CommandLibrary,          /* library          */
00042   CommandMacro,            /* macro            */
00043   CommandMacroPrepend,     /* +macro           */
00044   CommandMacroAppend,      /* macro+           */
00045   CommandMacroRemove,      /* macro-           */
00046   CommandMacroRemoveAll,   /* macro--          */
00047   CommandMakeFragment,     /* make_fragment    */
00048   CommandManager,          /* package manager  */
00049   CommandPackage,          /* package name     */
00050   CommandPath,             /* package path     */
00051   CommandPathAppend,       /* path             */
00052   CommandPathPrepend,      /* path             */
00053   CommandPathRemove,       /* path             */
00054   CommandPattern,          /* pattern          */
00055   CommandPrivate,          /* private          */
00056   CommandPublic,           /* public           */
00057   CommandSet,              /* set              */
00058   CommandSetAppend,        /* set_append       */
00059   CommandSetPrepend,       /* set_prepend      */
00060   CommandSetRemove,        /* set_remove       */
00061   CommandSetupScript,      /* user script      */
00062   CommandTag,              /* tag              */
00063   CommandTagExclude,       /* tag_exclude      */
00064   CommandUse,              /* use              */
00065   CommandVersion,          /* package version  */
00066   CommandVersionStrategy,  /* version strategy */
00067   Commands
00068 }

enum ConstituentType
 

Enumeration values:
Application  
Library  
Document  

Definition at line 146 of file cmt_parser.h.

00147 {
00148   Application,
00149   Library,
00150   Document
00151 }

enum PrintMode
 

Enumeration values:
Csh  
Sh  
Bat  
Make  

Definition at line 8 of file cmt_parser.h.

00009 {
00010   Csh,
00011   Sh,
00012   Bat,
00013   Make
00014 }

enum Priority
 

Enumeration values:
PriorityLowest  
PriorityDefault  
PriorityUname  
PrioritySite  
PriorityUserTag  
PriorityTag  
PriorityConfig  
PriorityArgument  

Definition at line 96 of file cmt_parser.h.

00097 {
00098   PriorityLowest = 0,
00099   PriorityDefault = 1,
00100   PriorityUname = 2,
00101   PrioritySite = 3,
00102   PriorityUserTag = 4,
00103   PriorityTag = 5,
00104   PriorityConfig = 6,
00105   PriorityArgument = 7
00106 }

enum ScopeType
 

Enumeration values:
ScopeUnspecified  
ScopePublic  
ScopePrivate  

Definition at line 82 of file cmt_parser.h.

00083 {
00084   ScopeUnspecified,
00085   ScopePublic,
00086   ScopePrivate
00087 }

enum ScriptType
 

Enumeration values:
SetupScript  
CleanupScript  

Definition at line 108 of file cmt_parser.h.

00109 {
00110   SetupScript,
00111   CleanupScript
00112 }

enum State
 

Enumeration values:
Unspecified  
Off  
On  

Definition at line 89 of file cmt_parser.h.

00090 {
00091   Unspecified = -1,
00092   Off = 0,
00093   On = 1
00094 }

enum VersionStrategy
 

Enumeration values:
BestFit  
BestFitNoCheck  
FirstChoice  
LastChoice  
KeepAll  
Strategies  

Definition at line 114 of file cmt_parser.h.

00115 {
00116   BestFit,            // The current default
00117   BestFitNoCheck,     // The current default without compatibility check
00118   FirstChoice,        // The first reference will not be overridden
00119   LastChoice,         // The last reference wins
00120   KeepAll,            // Keep all uses
00121 
00122   Strategies
00123 }


Generated at Mon Jun 10 17:58:08 2002 for CMT by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000