28 #ifndef AttributeDictionary_hpp 29 #define AttributeDictionary_hpp 35 #include <SketchUpAPI/model/attribute_dictionary.h> 37 #include "SUAPI-CppWrapper/model/Entity.hpp" 54 static SUAttributeDictionaryRef create_attribute_dictionary(
const std::string& name);
97 SUAttributeDictionaryRef
ref()
const;
98 operator SUAttributeDictionaryRef()
const;
99 operator SUAttributeDictionaryRef*();
124 std::vector<std::string>
get_keys()
const;
SUAttributeDictionaryRef ref() const
std::string get_name() const
AttributeDictionary & operator=(const AttributeDictionary &other)
bool attached() const
Returns true if the entity is attached to another object.
TypedValue get_attribute(const std::string &key, const TypedValue &default_value) const
TypedValue get_value(const std::string &key) const
std::vector< std::string > get_keys() const
bool set_attribute(const std::string &key, const TypedValue &value)