Go to the documentation of this file.
5 #ifndef CSCCOMMANDMETADATABUILDER_H
6 #define CSCCOMMANDMETADATABUILDER_H
8 #pragma region includes
24 class CscCommandDataTypeMetadata;
30 using std::map, std::any, std::vector, std::cout, std::endl, std::string,
std::to_string, std::optional;
31 namespace fs = std::filesystem;
34 #pragma endregion includes
48 bool hasGeneratedParamsMetadata =
false;
49 bool hasGeneratedResultMetadata =
false;
58 string toString()
const;
63 vector<CscCommandMetadataBuilderResultItem *>
items;
78 string toString()
const;
105 void saveCacheTo(
const fs::path &path,
bool merge =
true);
128 void generateAllCommandMetadataFromCommandHeadersDir(
const fs::path &commandsDir,
const vector<fs::path> &excludedHeaderFiles,
const optional<fs::path> &cachePath = {});
134 void generateCommandMetadataFromCommandHeaders(
const vector<fs::path> &commandsHeaders,
const vector<fs::path> &excludedHeaderFiles,
const optional<fs::path> &cachePath = {});
139 vector<fs::path> restoreCommandMetadataFromCacheFile(
const fs::path &cacheFile);
148 vector<const char *> *compilationArgsCache =
nullptr;
149 const vector<const char *> &getCompilationArgs();
NLOHMANN_BASIC_JSON_TPL_DECLARATION std::string to_string(const NLOHMANN_BASIC_JSON_TPL &j)
user-defined to_string function for JSON values
Definition: json.hpp:26470
#define CSC_DLL_IMPORTEXPORT
Definition: os.h:34
Definition: CscCommandMetadataBuilder.h:26
Definition: cartographyCommands.cpp:4
Definition: CscCommandMetadataBuilder.h:20
ServerEntities * instance
Definition: ServerEntities.cpp:39
Definition: CommandParamsSpec.h:127