Source-highlight Library
srchilite::FormatterParams Struct Reference

Additional parameters that can be passed to a formatter. More...

#include <formatterparams.h>

Inheritance diagram for srchilite::FormatterParams:
Collaboration diagram for srchilite::FormatterParams:

List of all members.

Public Member Functions

 FormatterParams (const std::string &n)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)
void setParserInfo (const std::string &name, unsigned int l)
void setParserInfo (const ParserInfo *p)

Public Attributes

std::string fileNameNoPath
 file name without path
int start
 The start position of the string to format within the whole string (line).
std::string filename
unsigned int line

Detailed Description

Additional parameters that can be passed to a formatter.


Constructor & Destructor Documentation

srchilite::FormatterParams::FormatterParams ( const std::string &  n) [inline]
Parameters:
thefile name (possible path will be stripped)

Member Data Documentation

The start position of the string to format within the whole string (line).

Note that this makes sense only for strings that are not to be formatted as normal. A negative value means "not specified" IMPORTANT: do not use this if formatting optimization is on.


The documentation for this struct was generated from the following file: