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

script.h

Go to the documentation of this file.
00001 #ifndef script_h
00002 #define script_h
00003 
00004 #include "tag.h"
00005 
00007 
00011 class ScriptStart : private Tag
00012 {
00013  private:
00014   std::string script_type;
00015   std::string command;
00016   std::string name;
00017 
00018  public:
00019   ScriptStart( Line line );
00020   
00021   bool is_valid() const { return Tag::is_valid_tag; }
00022   bool operator!() const { return !Tag::is_valid_tag; }
00023 
00024   std::string get_script_type() const { return script_type; }
00025   std::string get_command() const { return command; }
00026   std::string get_name() const { return name; }
00027 };
00028 
00030 class ScriptEnd : private Tag
00031 {
00032  public:
00033   ScriptEnd( Line line );
00034 
00035   bool is_valid() const { return Tag::is_valid_tag; }
00036   bool operator!() const { return !Tag::is_valid_tag; }
00037 };
00038 
00040 class Function : private Tag
00041 {
00042  private:
00043   std::string call;
00044   std::string type;
00045 
00046  public:
00047   Function( Line line );
00048 
00049   bool is_valid() const { return Tag::is_valid_tag; }
00050   bool operator!() const { return !Tag::is_valid_tag; }
00051   std::string get_type() const { return type; }
00052   
00053   std::string get_call() const { return call; }
00054 };
00055 
00056 #endif

Generated on Tue Nov 20 02:19:52 2001 for Leo<HTML> by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001