Euphoria
eu::core::MapValue Struct Reference

#include <propertytree.h>

Inheritance diagram for eu::core::MapValue:
eu::core::Value

Public Member Functions

 MapValue ()
 
void set (const std::string &name, std::shared_ptr< Value > value)
 
std::shared_ptr< Valueget_or_null (const std::string &name)
 
- Public Member Functions inherited from eu::core::Value
 Value (ValueType vt)
 
virtual ~Value ()=default
 
 Value (const Value &)=delete
 
 Value (Value &&)=delete
 
void operator= (const Value &)=delete
 
void operator= (Value &&)=delete
 

Public Attributes

std::map< std::string, std::shared_ptr< Value > > properties
 
- Public Attributes inherited from eu::core::Value
const ValueType type
 

Detailed Description

Definition at line 59 of file propertytree.h.

Constructor & Destructor Documentation

◆ MapValue()

eu::core::MapValue::MapValue ( )

Definition at line 48 of file propertytree.cc.

Member Function Documentation

◆ get_or_null()

std::shared_ptr< Value > eu::core::MapValue::get_or_null ( const std::string &  name)

Definition at line 57 of file propertytree.cc.

◆ set()

void eu::core::MapValue::set ( const std::string &  name,
std::shared_ptr< Value value 
)

Definition at line 51 of file propertytree.cc.

Member Data Documentation

◆ properties

std::map<std::string, std::shared_ptr<Value> > eu::core::MapValue::properties

Definition at line 61 of file propertytree.h.


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