5#include <nlohmann/json.hpp>
102 "ReactiveSequence",
"IfThenElse",
"RepeatAtOnce"};
104 "Delay",
"RepeatUntilSuccess",
"Repeat"};
161 nlohmann::json
ToJson()
const;
162 void FromJson(
const nlohmann::json &json);
165 bool Validate(std::vector<String> &errors)
const;
Configuration for XML parser behavior and element/attribute mappings.
const ClassificationConfig & GetClassificationConfig() const
BlackboardConfig blackboard_config_
bool Validate(std::vector< String > &errors) const
SubTreeExpansion
SubTree expansion strategy.
static nlohmann::json SubTreeExpansionToJson(SubTreeExpansion expansion)
AdvancedConfig advanced_config_
static WhitespaceHandling WhitespaceHandlingFromJson(const nlohmann::json &json)
const DocumentConfig & GetDocumentConfig() const
NamingConvention
Naming convention strictness.
DocumentConfig & GetDocumentConfig()
ClassificationStrategy
Strategy for classifying node types.
ClassificationConfig & GetClassificationConfig()
static ParserConfig CreateDefault()
static nlohmann::json UnknownTypeBehaviorToJson(UnknownTypeBehavior behavior)
AdvancedConfig & GetAdvancedConfig()
bool IsConditionType(const String &type) const
static NamingConvention NamingConventionFromJson(const nlohmann::json &json)
UnknownTypeBehavior
How to handle unknown/unmapped types.
static nlohmann::json NamingConventionToJson(NamingConvention convention)
void FromJson(const nlohmann::json &json)
static ParserConfig CreateGeneric()
bool IsDecoratorType(const String &type) const
WhitespaceHandling
Whitespace handling strategy.
static SubTreeExpansion SubTreeExpansionFromJson(const nlohmann::json &json)
TreeConfig & GetTreeConfig()
static nlohmann::json ClassificationStrategyToJson(ClassificationStrategy strategy)
BlackboardConfig & GetBlackboardConfig()
const BlackboardConfig & GetBlackboardConfig() const
bool IsActionType(const String &type) const
nlohmann::json ToJson() const
static ClassificationStrategy ClassificationStrategyFromJson(const nlohmann::json &json)
DocumentConfig document_config_
const AdvancedConfig & GetAdvancedConfig() const
const TreeConfig & GetTreeConfig() const
bool IsControlType(const String &type) const
static nlohmann::json WhitespaceHandlingToJson(WhitespaceHandling handling)
ClassificationConfig classification_config_
NodeConfig & GetNodeConfig()
const NodeConfig & GetNodeConfig() const
static UnknownTypeBehavior UnknownTypeBehaviorFromJson(const nlohmann::json &json)
Main types header for EmberCore.
std::string String
Framework-agnostic string type.
bool enable_progress_reporting
String custom_validation_rules
bool detailed_error_messages
SubTreeExpansion subtree_expansion
bool preserve_attribute_order
bool allow_undefined_keys
std::map< String, String > type_mappings
String blackboard_id_attribute
String entry_key_attribute
String blackboard_element
String entry_type_attribute
String entry_value_attribute
std::vector< String > action_types
UnknownTypeBehavior unknown_behavior
String type_attribute_name
ClassificationStrategy strategy
std::vector< String > decorator_types
std::vector< String > condition_types
std::vector< String > control_types
String main_tree_attribute
NamingConvention naming_convention
bool allow_unknown_elements
WhitespaceHandling whitespace_handling
bool allow_custom_attributes
String generic_node_element
String node_name_attribute
String node_type_attribute
bool allow_multiple_trees
String subtree_reference_attribute
String behavior_tree_element
bool validate_tree_structure