13 #ifndef MITKCUSTOMTAGPARSER_H 14 #define MITKCUSTOMTAGPARSER_H 81 static std::string ReadListFromFile(
const std::string& filePath);
87 static std::string ExtractRevision(std::string sequenceFileName);
89 void SetParseStrategy(std::string parseStrategy);
90 void SetRevisionMappingStrategy(std::string revisionMappingStrategy);
102 std::string GetRevisionAppropriateJSONString(std::string revisionString);
103 void GetClosestLowerRevision(std::string revisionString);
104 std::string GetClosestLowerRevision(std::string revisionString, std::vector<int> availableRevisionsVector);
107 bool IsT1Sequence(std::string preparationType, std::string recoveryMode, std::string spoilingType, std::string revisionString);
110 std::string GetOffsetString(std::string samplingType, std::string offset, std::string measurements);
113 std::vector<int> GetExternalRevisions();
115 std::vector<int> GetInternalRevisions();
118 std::string GetExternalJSONDirectory();
139 #endif // MITKCUSTOMTAGPARSER_H DataCollection - Class to facilitate loading/accessing structured data.
static const std::string m_CESTPropertyPrefix
prefix for all CEST related property names
static const std::string m_RevisionPropertyName
name of the property for the data acquisition revision
std::string m_RevisionMappingStrategy
How to handle parameter mapping based on absent revision jsons.
std::string m_DicomDataPath
path to the dicom data
std::string m_ClosestExternalRevision
the closest lower revision provided as a json beside the library, empty if none found ...
static const std::string m_DefaultJsonString
default revision dependent json string if none is found
std::string m_ClosestInternalRevision
the closest lower revision provided as resource, empty if none found
std::string m_ParseStrategy
Should the kind of data be automatically determined or should it be parsed as a specific one...
static const std::string m_RevisionIndependentMapping
revision independent mapping to inject into the revision dependent json string
static const std::string m_JSONRevisionPropertyName
name of the property for the json parameter mapping revision
Property for time and space resolved string values.