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

cmt_script.h

Go to the documentation of this file.
00001 #ifndef __cmt_script_h__
00002 #define __cmt_script_h__
00003 
00004 #include "cmt_parser.h"
00005 #include "cmt_system.h"
00006 
00007 class Script
00008 {
00009 public:
00010   typedef cmt_vector<Script> ScriptVector;
00011 
00012   static void action (const CmtSystem::cmt_string_vector& words,
00013                       ScriptType type,
00014                       Use* use);
00015   static Script* find (const cmt_string& name, Use* use);
00016   static Script* add (const cmt_string& name, ScriptType type, Use* use);
00017   static void all_print_clean (PrintMode mode);
00018   static void all_print (PrintMode mode);
00019   static void clear_all ();
00020 
00021 public:
00022   Script ();
00023   ~Script ();
00024   int print (PrintMode mode, const Use* use);
00025 
00026   cmt_string name;
00027   ScriptType type;
00028 };
00029 
00030 #endif

Generated at Thu Apr 11 16:49:42 2002 for CMT by doxygen1.2.3 written by Dimitri van Heesch, © 1997-2000