VSTGUI  4.3
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 Types

typedef std::vector< std::string > StringArray
 

Public Member Functions

 UIAttributes (UTF8StringPtr *attributes=0)
 
 ~UIAttributes ()
 
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 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)
 
virtual void beforeDelete ()
 
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)
 

Static Public Member Functions

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

Member Typedef Documentation

typedef std::vector<std::string> StringArray

Constructor & Destructor Documentation

UIAttributes ( UTF8StringPtr attributes = 0)

Member Function Documentation

virtual void beforeDelete ( )
inlinevirtualinherited

Reimplemented in CView.

+ Here is the caller graph for this function:

std::string createStringArrayValue ( const StringArray values)
static

+ Here is the caller graph for this function:

virtual void forget ( )
inlinevirtualinherited

decrease refcount and delete object if refcount == 0

+ Here is the call graph for this function:

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

+ Here is the caller graph for this function:

bool getBooleanAttribute ( const std::string &  name,
bool &  value 
) const

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool getDoubleAttribute ( const std::string &  name,
double &  value 
) const

+ Here is the call graph for this function:

bool getIntegerAttribute ( const std::string &  name,
int32_t &  value 
) const

+ Here is the call graph for this function:

virtual int32_t getNbReference ( ) const
inlinevirtualinherited

get refcount

bool getPointAttribute ( const std::string &  name,
CPoint p 
) const

+ Here is the call graph for this function:

bool getRectAttribute ( const std::string &  name,
CRect r 
) const

+ Here is the call graph for this function:

bool getStringArrayAttribute ( const std::string &  name,
StringArray values 
) const

+ Here is the call graph for this function:

bool hasAttribute ( const std::string &  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 ( const std::string &  name)

+ Here is the caller graph for this function:

bool restore ( InputStream stream)

+ Here is the call graph for this function:

void setAttribute ( const std::string &  name,
const std::string &  value 
)

+ Here is the caller graph for this function:

void setBooleanAttribute ( const std::string &  name,
bool  value 
)

+ Here is the call graph for this function:

void setDoubleAttribute ( const std::string &  name,
double  value 
)

+ Here is the call graph for this function:

void setIntegerAttribute ( const std::string &  name,
int32_t  value 
)

+ Here is the call graph for this function:

void setPointAttribute ( const std::string &  name,
const CPoint p 
)

+ Here is the call graph for this function:

void setRectAttribute ( const std::string &  name,
const CRect r 
)

+ Here is the call graph for this function:

void setStringArrayAttribute ( const std::string &  name,
const StringArray values 
)

+ Here is the call graph for this function:

bool store ( OutputStream stream) const

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