Source-highlight Library
parsestruct.h
1 //
2 // C++ Interface: parsestruct
3 //
4 // Description:
5 //
6 //
7 // Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004
8 //
9 // Copyright: See COPYING file that comes with this distribution
10 //
11 //
12 
13 #ifndef PARSESTRUCT_H
14 #define PARSESTRUCT_H
15 
16 #include <string>
17 #include <boost/shared_ptr.hpp>
18 
19 namespace srchilite {
20 
22 {
23  const std::string path;
24  const std::string file_name;
25  unsigned int line;
26  unsigned int pos;
27 
28  ParseStruct(const std::string &pa, const std::string &name) :
29  path(pa), file_name(name), line(1), pos(0) {}
30 };
31 
32 typedef boost::shared_ptr<ParseStruct> ParseStructPtr;
33 
34 }
35 
36 #endif // PARSESTRUCT_H
C++ class: doctemplate.h.
Definition: bufferedoutput.cpp:13
Definition: parsestruct.h:21