45 bool Validate(std::vector<String> &errors)
const;
48 nlohmann::json
ToJson()
const;
49 void FromJson(
const nlohmann::json &json);
56 std::shared_ptr<ParserProfile>
Clone(
const String &new_name =
"")
const;
Configuration for XML parser behavior and element/attribute mappings.
String GetDescription() const
static std::shared_ptr< ParserProfile > CreateGenericProfile()
void SetName(const String &name)
void SetAuthor(const String &author)
static int64_t GetCurrentTimestamp()
nlohmann::json ToJson() const
static std::shared_ptr< ParserProfile > CreateDefaultProfile()
bool LoadFromFile(const String &filepath)
int64_t modified_timestamp_
void SetVersion(const String &version)
bool Validate(std::vector< String > &errors) const
void SetConfig(const ParserConfig &config)
int64_t GetCreatedTimestamp() const
void FromJson(const nlohmann::json &json)
String GetVersion() const
void SetDescription(const String &description)
std::shared_ptr< ParserProfile > Clone(const String &new_name="") const
int64_t created_timestamp_
int64_t GetModifiedTimestamp() const
void UpdateModifiedTimestamp()
bool SaveToFile(const String &filepath) const
const ParserConfig & GetConfig() const
ParserConfig & GetConfig()
Main types header for EmberCore.
std::string String
Framework-agnostic string type.