Line | |
---|
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); |
---|
21 | static void print_all (PrintMode mode); |
---|
22 | static void print_filters (PrintMode mode); |
---|
23 | static void clear_all (); |
---|
24 | |
---|
25 | public: |
---|
26 | Include (); |
---|
27 | ~Include (); |
---|
28 | |
---|
29 | cmt_string name; |
---|
30 | Use* use; |
---|
31 | }; |
---|
32 | |
---|
33 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.