NumeRe v1.1.4
NumeRe: Framework für Numerische Rechnungen
|
This structure defines a single article in a documentation file. More...
#include <docfile.hpp>
Public Member Functions | |
DocumentationArticle (const std::vector< std::string > &vArticleContents, const std::string &sFileName) | |
Create a DocumentationArticle structure from the selected part of the documentation file containing exactly one article. More... | |
std::string | format () |
Format the documentation article into a single string, which then can be printed to a file. More... | |
Public Attributes | |
DocumentationEntry | m_docEntry |
std::vector< std::string > | m_keywords |
std::vector< std::string > | m_contents |
This structure defines a single article in a documentation file.
Definition at line 43 of file docfile.hpp.
DocumentationArticle::DocumentationArticle | ( | const std::vector< std::string > & | vArticleContents, |
const std::string & | sFileName | ||
) |
Create a DocumentationArticle structure from the selected part of the documentation file containing exactly one article.
vArticleContents | const std::vector<std::string>& |
sFileName | const std::string& |
Definition at line 90 of file docfile.cpp.
References m_contents, m_docEntry, m_keywords, parseHeader(), and DocumentationEntry::sDocFilePath.
std::string DocumentationArticle::format | ( | ) |
Format the documentation article into a single string, which then can be printed to a file.
Definition at line 199 of file docfile.cpp.
References indentationLevelDiff(), m_contents, m_docEntry, m_keywords, max, DocumentationEntry::sArticleId, DocumentationEntry::sIdxKeys, and DocumentationEntry::sTitle.
std::vector<std::string> DocumentationArticle::m_contents |
Definition at line 47 of file docfile.hpp.
Referenced by DocumentationArticle(), and format().
DocumentationEntry DocumentationArticle::m_docEntry |
Definition at line 45 of file docfile.hpp.
Referenced by DocumentationArticle(), and format().
std::vector<std::string> DocumentationArticle::m_keywords |
Definition at line 46 of file docfile.hpp.
Referenced by DocumentationArticle(), and format().