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

eagine::valtree Namespace Reference

Value-tree code is placed in this namespace. More...

Classes

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

Enumerations

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

Functions

auto 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 from_json_text (string_view, main_ctx_parent) -> compound
 Creates a compound from a JSON text string view.
 
static auto operator/ (compound c, attribute a) noexcept -> compound_attribute
 Operator for creating a compound_attribute from compound and attribute.
 
auto from_yaml_text (string_view, main_ctx_parent) -> compound
 Creates a compound from a YAML text string view.
 

Detailed Description

Value-tree code is placed in this namespace.


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