Ember
Loading...
Searching...
No Matches
EmberCore::LibXMLBehaviorTreeParser::ParseError Struct Reference

Error information for parsing failures (enhanced with libxml2 details) More...

#include <LibXMLBehaviorTreeParser.h>

Public Types

enum  Type {
  FILE_NOT_FOUND , XML_SYNTAX_ERROR , UNKNOWN_NODE_TYPE , MISSING_ATTRIBUTE ,
  INVALID_VALUE , MISSING_ROOT_ELEMENT , MISSING_BEHAVIOR_TREE , INVALID_TREE_STRUCTURE ,
  THREAD_ERROR , MEMORY_ERROR
}

Public Member Functions

 ParseError (Type t, const EmberCore::String &msg, const EmberCore::String &path="", int line=-1, int col=-1)

Public Attributes

Type type
EmberCore::String message
EmberCore::String file_path
int line_number
int column_number
EmberCore::String node_path
EmberCore::String context

Detailed Description

Error information for parsing failures (enhanced with libxml2 details)

Definition at line 60 of file LibXMLBehaviorTreeParser.h.

Member Enumeration Documentation

◆ Type

Enumerator
FILE_NOT_FOUND 
XML_SYNTAX_ERROR 
UNKNOWN_NODE_TYPE 
MISSING_ATTRIBUTE 
INVALID_VALUE 
MISSING_ROOT_ELEMENT 
MISSING_BEHAVIOR_TREE 
INVALID_TREE_STRUCTURE 
THREAD_ERROR 
MEMORY_ERROR 

Definition at line 61 of file LibXMLBehaviorTreeParser.h.

Constructor & Destructor Documentation

◆ ParseError()

EmberCore::LibXMLBehaviorTreeParser::ParseError::ParseError ( Type t,
const EmberCore::String & msg,
const EmberCore::String & path = "",
int line = -1,
int col = -1 )
inline

Definition at line 82 of file LibXMLBehaviorTreeParser.h.

Member Data Documentation

◆ column_number

int EmberCore::LibXMLBehaviorTreeParser::ParseError::column_number

Definition at line 78 of file LibXMLBehaviorTreeParser.h.

◆ context

EmberCore::String EmberCore::LibXMLBehaviorTreeParser::ParseError::context

Definition at line 80 of file LibXMLBehaviorTreeParser.h.

◆ file_path

EmberCore::String EmberCore::LibXMLBehaviorTreeParser::ParseError::file_path

Definition at line 76 of file LibXMLBehaviorTreeParser.h.

◆ line_number

int EmberCore::LibXMLBehaviorTreeParser::ParseError::line_number

Definition at line 77 of file LibXMLBehaviorTreeParser.h.

◆ message

EmberCore::String EmberCore::LibXMLBehaviorTreeParser::ParseError::message

Definition at line 75 of file LibXMLBehaviorTreeParser.h.

◆ node_path

EmberCore::String EmberCore::LibXMLBehaviorTreeParser::ParseError::node_path

Definition at line 79 of file LibXMLBehaviorTreeParser.h.

◆ type

Type EmberCore::LibXMLBehaviorTreeParser::ParseError::type

Definition at line 74 of file LibXMLBehaviorTreeParser.h.


The documentation for this struct was generated from the following file: