NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
#include <fstream>
#include "doc_helper.hpp"
#include "docfile.hpp"
#include "../version.h"
#include "../utils/tools.hpp"
#include "../../kernel.hpp"
#include <algorithm>
Go to the source code of this file.
Functions | |
static void | stripComments (std::string &sLine, std::ifstream &fDocument) |
Strips comments from the documentation article file. More... | |
static void | findArticleById (std::string &sLine, const std::string &sArticleID, std::ifstream &fDocument) |
Searches an article in a file by the selected ID. More... | |
static std::vector< std::string > | loadDocumentationArticle (const std::string &sFileName, const std::string &sArticleID) |
This static function loads and prepares the selected documentation article. More... | |
|
static |
Searches an article in a file by the selected ID.
sLine | std::string& |
sArticleID | const std::string& |
fDocument | std::ifstream& |
Definition at line 79 of file doc_helper.cpp.
References Documentation::getArgAtPos(), stripComments(), and StripSpaces().
Referenced by loadDocumentationArticle().
|
static |
This static function loads and prepares the selected documentation article.
sFileName | const std::string& |
sArticleID | const std::string& |
Definition at line 122 of file doc_helper.cpp.
References findArticleById(), getArgAtPos(), SyntaxError::HLP_FILE_MISSING, SyntaxError::invalid_position, stripComments(), and StripSpaces().
Referenced by Documentation::getHelpArticle().
|
static |
Strips comments from the documentation article file.
sLine | std::string& |
fDocument | std::ifstream& |
Definition at line 39 of file doc_helper.cpp.
References StripSpaces().
Referenced by findArticleById(), and loadDocumentationArticle().