VSTGUI  4.2
Graphical User Interface Framework not only for VST plugins
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Groups Pages
UIAttributes Class Reference
+ Inheritance diagram for UIAttributes:
+ Collaboration diagram for UIAttributes:

Public Member Functions

 UIAttributes (UTF8StringPtr *attributes=0)
 
 ~UIAttributes ()
 
bool hasAttribute (UTF8StringPtr name) const
 
const std::string * getAttributeValue (UTF8StringPtr name) const
 
void setAttribute (UTF8StringPtr name, UTF8StringPtr value)
 
void removeAttribute (UTF8StringPtr name)
 
void setBooleanAttribute (UTF8StringPtr name, bool value)
 
bool getBooleanAttribute (UTF8StringPtr name, bool &value) const
 
void setIntegerAttribute (UTF8StringPtr name, int32_t value)
 
bool getIntegerAttribute (UTF8StringPtr name, int32_t &value) const
 
void setDoubleAttribute (UTF8StringPtr name, double value)
 
bool getDoubleAttribute (UTF8StringPtr name, double &value) const
 
void setPointAttribute (UTF8StringPtr name, const CPoint &p)
 
bool getPointAttribute (UTF8StringPtr name, CPoint &p) const
 
void setRectAttribute (UTF8StringPtr name, const CRect &r)
 
bool getRectAttribute (UTF8StringPtr name, CRect &r) const
 
void setAttributeArray (UTF8StringPtr name, const std::vector< std::string > &values)
 
bool getAttributeArray (UTF8StringPtr name, std::vector< std::string > &values) const
 
void removeAll ()
 
bool store (OutputStream &stream)
 
bool restore (InputStream &stream)
 
Reference Counting Methods
virtual void forget ()
 decrease refcount and delete object if refcount == 0 More...
 
virtual void remember ()
 increase refcount More...
 
virtual int32_t getNbReference () const
 get refcount More...
 
Message Methods
virtual CMessageResult notify (CBaseObject *sender, IdStringPtr message)
 

Constructor & Destructor Documentation

UIAttributes ( UTF8StringPtr attributes = 0)

Member Function Documentation

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

bool getAttributeArray ( UTF8StringPtr  name,
std::vector< std::string > &  values 
) const

+ Here is the call graph for this function:

const std::string * getAttributeValue ( UTF8StringPtr  name) const

+ Here is the caller graph for this function:

bool getBooleanAttribute ( UTF8StringPtr  name,
bool &  value 
) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool getDoubleAttribute ( UTF8StringPtr  name,
double &  value 
) const

+ Here is the call graph for this function:

bool getIntegerAttribute ( UTF8StringPtr  name,
int32_t &  value 
) const

+ Here is the call graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

bool getPointAttribute ( UTF8StringPtr  name,
CPoint p 
) const

+ Here is the call graph for this function:

bool getRectAttribute ( UTF8StringPtr  name,
CRect r 
) const

+ Here is the call graph for this function:

bool hasAttribute ( UTF8StringPtr  name) const

+ Here is the call graph for this function:

virtual void remember ( )
inlinevirtualinherited

increase refcount

+ Here is the caller graph for this function:

void removeAll ( )
inline
void removeAttribute ( UTF8StringPtr  name)

+ Here is the caller graph for this function:

bool restore ( InputStream stream)

+ Here is the call graph for this function:

void setAttribute ( UTF8StringPtr  name,
UTF8StringPtr  value 
)

+ Here is the caller graph for this function:

void setAttributeArray ( UTF8StringPtr  name,
const std::vector< std::string > &  values 
)
void setBooleanAttribute ( UTF8StringPtr  name,
bool  value 
)

+ Here is the call graph for this function:

void setDoubleAttribute ( UTF8StringPtr  name,
double  value 
)

+ Here is the call graph for this function:

void setIntegerAttribute ( UTF8StringPtr  name,
int32_t  value 
)

+ Here is the call graph for this function:

void setPointAttribute ( UTF8StringPtr  name,
const CPoint p 
)

+ Here is the call graph for this function:

void setRectAttribute ( UTF8StringPtr  name,
const CRect r 
)

+ Here is the call graph for this function:

bool store ( OutputStream stream)

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