Source-highlight Library
formatterparams.h
1
//
2
// Author: Lorenzo Bettini <http://www.lorenzobettini.it>, (C) 2004-2008
3
//
4
// Copyright: See COPYING file that comes with this distribution
5
//
6
7
#ifndef FORMATTERPARAMS_H_
8
#define FORMATTERPARAMS_H_
9
10
#include "parserinfo.h"
11
#include "fileutil.h"
12
13
namespace
srchilite
{
14
18
struct
FormatterParams:
public
ParserInfo {
20
std::string
fileNameNoPath
;
21
29
int
start
;
30
31
FormatterParams() :
32
start
(-1) {
33
}
34
38
FormatterParams
(
const
std::string &n) :
39
ParserInfo(n),
fileNameNoPath
(strip_file_path(n)),
start
(-1) {
40
}
41
};
42
43
}
44
45
#endif
/*FORMATTERPARAMS_H_*/
srchilite
C++ class: doctemplate.h.
Definition
bufferedoutput.cpp:13
srchilite::FormatterParams::fileNameNoPath
std::string fileNameNoPath
file name without path
Definition
formatterparams.h:20
srchilite::FormatterParams::start
int start
The start position of the string to format within the whole string (line).
Definition
formatterparams.h:29
srchilite::FormatterParams::FormatterParams
FormatterParams(const std::string &n)
Definition
formatterparams.h:38
src
source-highlight-3.1.9
lib
srchilite
formatterparams.h
Generated by
1.16.1