UIAttributes Class Reference
List of all members.
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) |
|
|
virtual void | forget () |
| decrease refcount and delete object if refcount == 0
|
virtual void | remember () |
| increase refcount
|
virtual int32_t | getNbReference () const |
| get refcount
|
|
|
virtual CMessageResult | notify (CBaseObject *sender, IdStringPtr message) |
Constructor & Destructor Documentation
Member Function Documentation
virtual void forget |
( |
|
) |
[inline, virtual, inherited] |
decrease refcount and delete object if refcount == 0
bool getAttributeArray |
( |
UTF8StringPtr |
name, |
|
|
std::vector< std::string > & |
values | |
|
) |
| | const |
const std::string * getAttributeValue |
( |
UTF8StringPtr |
name |
) |
const |
bool getBooleanAttribute |
( |
UTF8StringPtr |
name, |
|
|
bool & |
value | |
|
) |
| | const |
bool getDoubleAttribute |
( |
UTF8StringPtr |
name, |
|
|
double & |
value | |
|
) |
| | const |
bool getIntegerAttribute |
( |
UTF8StringPtr |
name, |
|
|
int32_t & |
value | |
|
) |
| | const |
virtual int32_t getNbReference |
( |
|
) |
const [inline, virtual, inherited] |
virtual void remember |
( |
|
) |
[inline, virtual, inherited] |
void removeAll |
( |
|
) |
[inline] |
void setAttributeArray |
( |
UTF8StringPtr |
name, |
|
|
const std::vector< std::string > & |
values | |
|
) |
| | |
The documentation for this class was generated from the following files:
- uidescription.h
- uidescription.cpp