WSF
CommandDocumentation.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef COMMANDDOCUMENTATION_HPP
13#define COMMANDDOCUMENTATION_HPP
14#include <string>
15
16#include <QString>
17#include <QUrl>
18
19#include "WsfParseNode.hpp"
20
21class UtTextDocumentRange;
22
23namespace wizard
24{
27{
28public:
29 static QUrl GetDocUrl(const UtTextDocumentRange& aRange);
30 static QString PeekDocumentationText(GrammarDocumentation& aDocumentationData, WsfParseNode* aLastParseNode);
31 static QString PeekDocumentationText(GrammarDocumentation& aDocumentationData,
32 const std::string& aPageName,
33 const std::string& aAnchor);
34 static QString FindDocumentationUrl(GrammarDocumentation& aDocumentationData, WsfParseNode* aLastParseNode);
35
36 static std::string PageURL(GrammarDocumentation& aDocumentationData,
37 const std::string& aLinkPath,
38 const std::string& aAnchor);
39};
40} // namespace wizard
41#endif
Definition WsfParseNode.hpp:61
Definition CommandDocumentation.hpp:27
static QString PeekDocumentationText(GrammarDocumentation &aDocumentationData, WsfParseNode *aLastParseNode)
Definition CommandDocumentation.cpp:139
static QUrl GetDocUrl(const UtTextDocumentRange &aRange)
Definition CommandDocumentation.cpp:24
static QString FindDocumentationUrl(GrammarDocumentation &aDocumentationData, WsfParseNode *aLastParseNode)
Definition CommandDocumentation.cpp:153
static std::string PageURL(GrammarDocumentation &aDocumentationData, const std::string &aLinkPath, const std::string &aAnchor)
Definition CommandDocumentation.cpp:168
Definition GrammarDocumentation.hpp:28
Definition Runner.hpp:22
Copyrights Multiple, All Rights Reserved