00001 //----------------------------------------------------------- 00002 // Copyright Christian Arnault LAL-Orsay CNRS 00003 // arnault@lal.in2p3.fr 00004 // See the complete license in cmt_license.txt "http://www.cecill.info". 00005 //----------------------------------------------------------- 00006 00007 #ifndef __cmt_include_h__ 00008 #define __cmt_include_h__ 00009 00010 #include "cmt_parser.h" 00011 #include "cmt_system.h" 00012 00013 class Include 00014 { 00015 public: 00016 typedef cmt_vector<Include> IncludeVector; 00017 00018 static void action (const CmtSystem::cmt_string_vector& words, Use* use); 00019 static Include* find (const cmt_string& name, Use* use); 00020 static Include* add (const cmt_string& name, Use* use); 00021 static void print_all (PrintMode mode); 00022 static void print_filters (PrintMode mode); 00023 static void clear_all (); 00024 00025 public: 00026 Include (); 00027 ~Include (); 00028 00029 cmt_string name; 00030 Use* use; 00031 }; 00032 00033 #endif