OGLplus  (0.59.0) a C++ wrapper for rendering APIs

Value trees

Classes

struct  eagine::valtree::attribute_interface
 Interface for value tree attribute implementations. More...
 
struct  eagine::valtree::compound_interface
 Interface for value tree compound implementations. More...
 
class  eagine::valtree::attribute
 Handle class for value tree attributes. More...
 
class  eagine::valtree::compound
 Handle class for value tree compounds. More...
 
class  eagine::valtree::compound_attribute
 Combination of a reference to a tree compound and a single attribute. More...
 

Enumerations

enum  eagine::valtree::value_type {
  eagine::valtree::value_type::unknown, eagine::valtree::value_type::bool_type, eagine::valtree::value_type::byte_type, eagine::valtree::value_type::int16_type,
  eagine::valtree::value_type::int32_type, eagine::valtree::value_type::int64_type, eagine::valtree::value_type::float_type, eagine::valtree::value_type::duration_type,
  eagine::valtree::value_type::string_type, eagine::valtree::value_type::composite
}
 Value tree value element data type enumeration. More...
 

Functions

auto eagine::valtree::from_filesystem_path (string_view root_path, main_ctx_parent, std::shared_ptr< file_compound_factory >={}) -> compound
 Creates a compound representing a filesystem subtree.
 
auto eagine::valtree::from_json_text (string_view, main_ctx_parent) -> compound
 Creates a compound from a JSON text string view.
 
static auto eagine::valtree::operator/ (compound c, attribute a) noexcept -> compound_attribute
 Operator for creating a compound_attribute from compound and attribute.
 
auto eagine::valtree::from_yaml_text (string_view, main_ctx_parent) -> compound
 Creates a compound from a YAML text string view.
 

Detailed Description

Enumeration Type Documentation

◆ value_type

Value tree value element data type enumeration.

Enumerator
unknown 

Unknown value type.

bool_type 

Boolean value type.

byte_type 

Byte/BLOB value type.

int16_type 

16-bit integer value type.

int32_type 

32-bit integer value type.

int64_type 

64-bit integer value type.

float_type 

floating-point number value type.

duration_type 

time duration value type.

string_type 

string value type.

composite 

composite structure type.


Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).