Last change
on this file since 652 was
79,
checked in by arnault, 19 years ago
|
Fixing session - see CL#275
|
-
Property svn:eol-style set to
native
|
File size:
813 bytes
|
Rev | Line | |
---|
[2] | 1 | //----------------------------------------------------------- |
---|
| 2 | // Copyright Christian Arnault LAL-Orsay CNRS |
---|
| 3 | // arnault@lal.in2p3.fr |
---|
| 4 | // See the complete license in cmt_license.txt "http://www.cecill.info". |
---|
| 5 | //----------------------------------------------------------- |
---|
| 6 | |
---|
| 7 | #ifndef __cmt_include_h__ |
---|
| 8 | #define __cmt_include_h__ |
---|
| 9 | |
---|
| 10 | #include "cmt_parser.h" |
---|
| 11 | #include "cmt_system.h" |
---|
| 12 | |
---|
| 13 | class Include |
---|
| 14 | { |
---|
| 15 | public: |
---|
| 16 | typedef cmt_vector<Include> IncludeVector; |
---|
| 17 | |
---|
| 18 | static void action (const CmtSystem::cmt_string_vector& words, Use* use); |
---|
| 19 | static Include* find (const cmt_string& name, Use* use); |
---|
| 20 | static Include* add (const cmt_string& name, Use* use); |
---|
[79] | 21 | static void parse_all (Use* use); |
---|
[2] | 22 | static void clear_all (); |
---|
| 23 | |
---|
| 24 | public: |
---|
| 25 | Include (); |
---|
| 26 | ~Include (); |
---|
[78] | 27 | void parse (); |
---|
| 28 | void clear (); |
---|
[2] | 29 | |
---|
| 30 | cmt_string name; |
---|
| 31 | Use* use; |
---|
| 32 | }; |
---|
| 33 | |
---|
| 34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.