ASPiK SDK
VSTGUI::UIAttributes Class Reference
Inheritance diagram for VSTGUI::UIAttributes:
VSTGUI::ReferenceCounted< T > VSTGUI::IReference

Public Types

using StringArray = std::vector< std::string >
 

Public Member Functions

 UIAttributes (UTF8StringPtr *attributes=nullptr)
 
bool hasAttribute (const std::string &name) const
 
const std::string * getAttributeValue (const std::string &name) const
 
void setAttribute (const std::string &name, const std::string &value)
 
void setAttribute (const std::string &name, std::string &&value)
 
void setAttribute (std::string &&name, std::string &&value)
 
void removeAttribute (const std::string &name)
 
void setBooleanAttribute (const std::string &name, bool value)
 
bool getBooleanAttribute (const std::string &name, bool &value) const
 
void setIntegerAttribute (const std::string &name, int32_t value)
 
bool getIntegerAttribute (const std::string &name, int32_t &value) const
 
void setDoubleAttribute (const std::string &name, double value)
 
bool getDoubleAttribute (const std::string &name, double &value) const
 
void setPointAttribute (const std::string &name, const CPoint &p)
 
bool getPointAttribute (const std::string &name, CPoint &p) const
 
void setRectAttribute (const std::string &name, const CRect &r)
 
bool getRectAttribute (const std::string &name, CRect &r) const
 
void setStringArrayAttribute (const std::string &name, const StringArray &values)
 
bool getStringArrayAttribute (const std::string &name, StringArray &values) const
 
void removeAll ()
 
bool store (OutputStream &stream) const
 
bool restore (InputStream &stream)
 
- Public Member Functions inherited from VSTGUI::ReferenceCounted< T >
 ReferenceCounted (const ReferenceCounted &)
 
ReferenceCountedoperator= (const ReferenceCounted &)
 
void forget () override
 decrease refcount and delete object if refcount == 0
 
void remember () override
 increase refcount
 
virtual int32_t getNbReference () const
 get refcount
 
virtual void beforeDelete ()
 

Static Public Member Functions

static std::string createStringArrayValue (const StringArray &values)
 

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