#include <CSdlTools.h>
|
| static QString | ConvertTypeOrEnumOrUnion (const CSdlField &sdlField, const SdlEnumList &enumList, const SdlUnionList &unionList, bool *isCustomPtr=nullptr, bool *isComplexPtr=nullptr, bool *isArrayPtr=nullptr, bool *isEnumPtr=nullptr, bool *isUnion=nullptr) |
| |
| static std::shared_ptr< CSdlEntryBase > | GetSdlTypeOrEnumOrUnionForField (const CSdlField &sdlField, const SdlTypeList &typeList, const SdlEnumList &enumList, const SdlUnionList &unionList) |
| |
| static QMap< QString, QString > | CalculateTargetCppFilesFromSchemaParams (const iprm::IParamsSet &schemaParams, const ISdlProcessArgumentsParser &argumentParser, bool relativePath=false) |
| |
| static QString | GetCompleteOutputPath (const iprm::IParamsSet &schemaParams, const ISdlProcessArgumentsParser &argumentParser, bool cleanPath, bool cppPath) |
| | resolves a complete output path from schema params and template(if enabled) if template is not enabled, returns argumentParser.GetOutputDirectoryPath()
|
| |
|
static QString | GetTempOutputPathFromParams (const iprm::IParamsSet *paramsPtr, const QString &fallbackPath=QString()) |
| | extracts a temp path from paramsPtr ant returns it on successfull, returns fallbackPath otherwise
|
| |
- Todo:
- reorder methods and specify usage
Definition at line 35 of file CSdlTools.h.
◆ CalculateTargetCppFilesFromSchemaParams()
| static QMap< QString, QString > imtsdl::CSdlTools::CalculateTargetCppFilesFromSchemaParams |
( |
const iprm::IParamsSet & |
schemaParams, |
|
|
const ISdlProcessArgumentsParser & |
argumentParser, |
|
|
bool |
relativePath = false |
|
) |
| |
|
static |
- See also
- imtsdl::ISdlProcessArgumentsParser::s_headerFileType imtsdl::ISdlProcessArgumentsParser::s_sourceFileType
◆ ConvertTypeOrEnumOrUnion()
| static QString imtsdl::CSdlTools::ConvertTypeOrEnumOrUnion |
( |
const CSdlField & |
sdlField, |
|
|
const SdlEnumList & |
enumList, |
|
|
const SdlUnionList & |
unionList, |
|
|
bool * |
isCustomPtr = nullptr, |
|
|
bool * |
isComplexPtr = nullptr, |
|
|
bool * |
isArrayPtr = nullptr, |
|
|
bool * |
isEnumPtr = nullptr, |
|
|
bool * |
isUnion = nullptr |
|
) |
| |
|
static |
- Todo:
- rename it to 'ConvertEntryType' and make a structure with result; remove
isArrayPtr
◆ GetCompleteOutputPath()
| static QString imtsdl::CSdlTools::GetCompleteOutputPath |
( |
const iprm::IParamsSet & |
schemaParams, |
|
|
const ISdlProcessArgumentsParser & |
argumentParser, |
|
|
bool |
cleanPath, |
|
|
bool |
cppPath |
|
) |
| |
|
static |
resolves a complete output path from schema params and template(if enabled) if template is not enabled, returns argumentParser.GetOutputDirectoryPath()
- Note
- returns clean path
- See also
- QDir::cleanPath
◆ GetSdlTypeOrEnumOrUnionForField()
| static std::shared_ptr< CSdlEntryBase > imtsdl::CSdlTools::GetSdlTypeOrEnumOrUnionForField |
( |
const CSdlField & |
sdlField, |
|
|
const SdlTypeList & |
typeList, |
|
|
const SdlEnumList & |
enumList, |
|
|
const SdlUnionList & |
unionList |
|
) |
| |
|
static |
- Todo:
- rename it to 'GetSdlEntryFromField'
◆ s_sdlGlobalPrefix
| QString imtsdl::CSdlTools::s_sdlGlobalPrefix |
|
static |
Defines an SDL scheme namespace prefix.
- Warning
- If a change is required, it MUST ONLY be made BEFORE the process of parsing the scheme.
Definition at line 43 of file CSdlTools.h.