Go to the documentation of this file. 1 #ifndef CommandsDocGenerator_h
2 #define CommandsDocGenerator_h
4 #include "../CommandParamsSpec.h"
5 #include "../Result/CommandResultSpec.h"
15 ENUM(CscCommandDocGenerationFormat, CommandDocGenerationFormat_MARKDOWN, CommandDocGenerationFormat_HTML)
18 CscCommandDocGenerationFormat format = CommandDocGenerationFormat_MARKDOWN;
39 vector<fs::path> generateCommandsAPIDoc(
40 const fs::path &targetDirPath,
string generateCommandResultDoc(const CscCommandDataTypeMetadata *commandSpec, const CscCommandResultMetadata *resultMetadata, const CscCommandDocGenerationContext &context)
Definition: CscCommandsDocGenerator.cpp:223
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
Definition: CscCommandsDocGenerator.h:17
ENUM(CscCommandResultType, RESULT_NONE, RESULT_SEQUENCE, RESULT_POSITIONS, RESULT_FILE, RESULT_STRING, RESULT_BINARY, RESULT_OBJECT, RESULT_LIST, RESULT_BOOL, RESULT_LONG, RESULT_UNSIGNEDLONG, RESULT_DOUBLEFLOAT)
Definition: CscCommandsDocGenerator.h:27
Definition: CscCommandMetadataBuilder.h:26
string generateCommandFormatDoc(const CscCommandDataTypeMetadata *commandSpec, const CscCommandDocGenerationContext &context)
Definition: CscCommandsDocGenerator.cpp:446
Definition: CscCommandsDocGenerator.cpp:6
void appendCommandDocumentation(const CscCommandDataTypeMetadata *commandSpec, string &targetString, map< string, const CscCommandResultMetadata * > resultsMetadata, const CscCommandDocGenerationContext &context)
Definition: CscCommandsDocGenerator.cpp:332
void logCommandDocumentation(const string &commandId, const CscCommandDocGenerationContext &context)
Definition: CscCommandsDocGenerator.cpp:304
string generateCommandStringPaddedWithExampleValues(const CscCommandDataTypeMetadata *commandSpec, const map< string, string > &specifiedValues, bool fillOptionalValues)
Definition: CscCommandsDocGenerator.cpp:430