source: CMT/v1r25/source/cmt_include.h

Last change on this file 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
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
13class Include
14{
15public:
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 parse_all (Use* use);
22  static void clear_all ();
23
24public:
25  Include ();
26  ~Include ();
27  void parse ();
28  void clear ();
29
30  cmt_string name;
31  Use* use;
32};
33
34#endif
Note: See TracBrowser for help on using the repository browser.