37#ifndef H_OGF_META_TYPES_DYNAMIC_OBJECT_H
38#define H_OGF_META_TYPES_DYNAMIC_OBJECT_H
42#include <OGF/gom/types/callable.h>
61 const std::string& name,
const Any& value
68 const std::string& prop_name,
Any& prop_value
72 mutable std::map<std::string, Any> properties_;
127 const std::string& default_value =
""
137 const std::string&
name,
const std::string& default_value
148 const std::string& arg_name,
149 const std::string&
name,
const std::string& value
159 const std::string& arg_name,
160 const std::string&
name,
const std::string& value
185 const std::string& class_name,
205 MetaConstructor* add_constructor(
Callable* action=
nullptr);
218 const std::string& return_type=
"void"
A class that stores a variable of arbitrary type.
Represents a list of name-value pairs.
An object with a class that can be created in Lua.
bool set_property(const std::string &name, const Any &value) override
Sets an individual property.
bool get_property(const std::string &prop_name, Any &prop_value) const override
Gets a property.
Base class for all objects in the GOM system.
Object(bool transient=false)
Object constructor.
Global Graphite namespace.
SmartPointer< Callable > Callable_var
A reference-counted pointer to a Callable.
Definitions common to all include files in the gom library.