37#ifndef H_OGF_META_TYPES_META_STRUCT_H
38#define H_OGF_META_TYPES_META_STRUCT_H
126 const std::string& name, T* offset
129 add_property_by_typeid_name(name,
typeid(T).name());
131 "offset", String::to_string(
size_t(offset))
147 const std::string& name,
const std::string& type_name,
151 name, meta_struct_, type_name
154 "offset", String::to_string(
size_t(offset))
167 const std::string& property_name,
168 const std::string& typeid_name
206 return property_name_;
213 const std::string& name,
const std::string& value
220 const std::string& name, std::string& value
240 const std::string property_name_;
A smart pointer with reference-counted copy semantics.
A class that stores a variable of arbitrary type.
Base class for all objects in the GOM system.
A reference to a property in an object with a struct type.
bool get_property(const std::string &name, Any &value) const override
Gets a property.
bool get_property(const std::string &name, std::string &value) const override
Gets a property.
bool set_property(const std::string &name, const Any &value) override
Sets an individual property.
StructPropertyRef(Object *object, const std::string &prop_name)
StructPropertyRef constructor.
bool set_property(const std::string &name, const std::string &value) override
Sets an individual property.
const std::string & property_name() const
Gets the name of the struct property.
Object * object() const
Gets the object that contains the struct property.
std::string to_string() const
Gets a string representation of this struct.
geo_index_t index_t
The type for storing and manipulating indices.
Global Graphite namespace.
Definitions common to all include files in the gom library.