Ember
Loading...
Searching...
No Matches
EmberCore::ResourceValidationStatus Struct Reference

Resource validation status for a single file. More...

#include <BehaviorTreeProject.h>

Public Member Functions

bool IsValid () const

Public Attributes

String filepath
 Path to the file.
bool exists = false
 File exists on disk.
bool is_valid_xml = false
 File is valid XML.
bool has_behavior_trees = false
 File contains BehaviorTree elements.
int tree_count = 0
 Number of trees found in the file.
std::vector< Stringtree_ids
 IDs of trees found in the file.
std::vector< Stringsubtree_refs
 IDs of SubTrees referenced in this file.
std::vector< Stringerrors
 Validation errors for this file.
std::vector< Stringwarnings
 Validation warnings for this file.
bool has_blackboards = false
 File contains Blackboard elements.
int blackboard_count = 0
 Number of blackboards found in the file.
std::vector< Stringblackboard_ids
 IDs of blackboards found in the file.
std::vector< Stringblackboard_includes
 IDs referenced via includes="..." attribute.

Detailed Description

Resource validation status for a single file.

Definition at line 29 of file BehaviorTreeProject.h.

Member Function Documentation

◆ IsValid()

bool EmberCore::ResourceValidationStatus::IsValid ( ) const
inline

Definition at line 46 of file BehaviorTreeProject.h.

Member Data Documentation

◆ blackboard_count

int EmberCore::ResourceValidationStatus::blackboard_count = 0

Number of blackboards found in the file.

Definition at line 42 of file BehaviorTreeProject.h.

◆ blackboard_ids

std::vector<String> EmberCore::ResourceValidationStatus::blackboard_ids

IDs of blackboards found in the file.

Definition at line 43 of file BehaviorTreeProject.h.

◆ blackboard_includes

std::vector<String> EmberCore::ResourceValidationStatus::blackboard_includes

IDs referenced via includes="..." attribute.

Definition at line 44 of file BehaviorTreeProject.h.

◆ errors

std::vector<String> EmberCore::ResourceValidationStatus::errors

Validation errors for this file.

Definition at line 37 of file BehaviorTreeProject.h.

◆ exists

bool EmberCore::ResourceValidationStatus::exists = false

File exists on disk.

Definition at line 31 of file BehaviorTreeProject.h.

◆ filepath

String EmberCore::ResourceValidationStatus::filepath

Path to the file.

Definition at line 30 of file BehaviorTreeProject.h.

◆ has_behavior_trees

bool EmberCore::ResourceValidationStatus::has_behavior_trees = false

File contains BehaviorTree elements.

Definition at line 33 of file BehaviorTreeProject.h.

◆ has_blackboards

bool EmberCore::ResourceValidationStatus::has_blackboards = false

File contains Blackboard elements.

Definition at line 41 of file BehaviorTreeProject.h.

◆ is_valid_xml

bool EmberCore::ResourceValidationStatus::is_valid_xml = false

File is valid XML.

Definition at line 32 of file BehaviorTreeProject.h.

◆ subtree_refs

std::vector<String> EmberCore::ResourceValidationStatus::subtree_refs

IDs of SubTrees referenced in this file.

Definition at line 36 of file BehaviorTreeProject.h.

◆ tree_count

int EmberCore::ResourceValidationStatus::tree_count = 0

Number of trees found in the file.

Definition at line 34 of file BehaviorTreeProject.h.

◆ tree_ids

std::vector<String> EmberCore::ResourceValidationStatus::tree_ids

IDs of trees found in the file.

Definition at line 35 of file BehaviorTreeProject.h.

◆ warnings

std::vector<String> EmberCore::ResourceValidationStatus::warnings

Validation warnings for this file.

Definition at line 38 of file BehaviorTreeProject.h.


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