Ember
Loading...
Searching...
No Matches
EmberCore::BehaviorTreeValidator::ValidationResult Struct Reference

#include <BehaviorTreeValidator.h>

Public Member Functions

 ValidationResult ()
void AddError (const EmberCore::String &message, const EmberCore::String &node_path="")
void AddWarning (const EmberCore::String &message, const EmberCore::String &node_path="")
bool HasErrors () const
bool HasWarnings () const
size_t ErrorCount () const
size_t WarningCount () const

Public Attributes

bool is_valid
std::vector< ValidationIssueissues

Detailed Description

Definition at line 34 of file BehaviorTreeValidator.h.

Constructor & Destructor Documentation

◆ ValidationResult()

EmberCore::BehaviorTreeValidator::ValidationResult::ValidationResult ( )
inline

Definition at line 38 of file BehaviorTreeValidator.h.

Member Function Documentation

◆ AddError()

void EmberCore::BehaviorTreeValidator::ValidationResult::AddError ( const EmberCore::String & message,
const EmberCore::String & node_path = "" )
inline

Definition at line 40 of file BehaviorTreeValidator.h.

◆ AddWarning()

void EmberCore::BehaviorTreeValidator::ValidationResult::AddWarning ( const EmberCore::String & message,
const EmberCore::String & node_path = "" )
inline

Definition at line 45 of file BehaviorTreeValidator.h.

◆ ErrorCount()

size_t EmberCore::BehaviorTreeValidator::ValidationResult::ErrorCount ( ) const
inline

Definition at line 59 of file BehaviorTreeValidator.h.

◆ HasErrors()

bool EmberCore::BehaviorTreeValidator::ValidationResult::HasErrors ( ) const
inline

Definition at line 49 of file BehaviorTreeValidator.h.

◆ HasWarnings()

bool EmberCore::BehaviorTreeValidator::ValidationResult::HasWarnings ( ) const
inline

Definition at line 54 of file BehaviorTreeValidator.h.

◆ WarningCount()

size_t EmberCore::BehaviorTreeValidator::ValidationResult::WarningCount ( ) const
inline

Definition at line 64 of file BehaviorTreeValidator.h.

Member Data Documentation

◆ is_valid

bool EmberCore::BehaviorTreeValidator::ValidationResult::is_valid

Definition at line 35 of file BehaviorTreeValidator.h.

◆ issues

std::vector<ValidationIssue> EmberCore::BehaviorTreeValidator::ValidationResult::issues

Definition at line 36 of file BehaviorTreeValidator.h.


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