|
Source-highlight Library
|
Takes care of running ctags and to generate a CTagsFormmatter. More...
#include <ctagsmanager.h>

Public Member Functions | |
| CTagsManager (const std::string &_ctagsFile, const std::string &_ctagsCmd, bool _runCTags, RefPosition _refPosition) | |
| void | runCTagsCmd () |
| Runs the ctags program. More... | |
| CTagsFormatter * | createCTagsFormatter (const TextStyles::RefTextStyle &r) |
| Creates a CTagsFormatter (if required, it previously run the ctags command). More... | |
Private Attributes | |
| std::string | ctagsFile |
| the ctags file name | |
| std::string | ctagsCmd |
| the possible ctags command to execute | |
| bool | runCTags |
| whether to run ctags command | |
| RefPosition | refPosition |
| the position for generated references | |
| CTagsCollector * | ctagsCollector |
| the shared instance shared by all the created CTagsFormatters | |
Takes care of running ctags and to generate a CTagsFormmatter.
| srchilite::CTagsManager::CTagsManager | ( | const std::string & | _ctagsFile, |
| const std::string & | _ctagsCmd, | ||
| bool | _runCTags, | ||
| RefPosition | _refPosition | ||
| ) |
| _ctagsFile | the ctags file name |
| _ctagsCmd | the ctags line command |
| _runCTags | whether to run the ctags command |
| _refPosition | the position for generated references |
| CTagsFormatter * srchilite::CTagsManager::createCTagsFormatter | ( | const TextStyles::RefTextStyle & | r | ) |
Creates a CTagsFormatter (if required, it previously run the ctags command).
| r | the style for references and anchors |
| IOException | if running the ctags command fails |
| void srchilite::CTagsManager::runCTagsCmd | ( | ) |
Runs the ctags program.
| IOException | if the run fails |