Index: A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z
AppAttributeData objects contain various data about attributes of built-in application objects. These are statically defined alongside ResidentApplication objects, and should never be freed.
#include <resapp/appattr.h>
public: | |
AppAttributeData(ResidentApplication *app, AppAttribute attr, uint16 attrSize, const void *data); | |
AppAttribute | GetAttrType(void) const; |
uint16 | GetAttrDataSize(void) const; |
const void * | GetAttrData(void) const; |
protected: |
Back to the top of AppAttributeData
Back to the top of AppAttributeData
Back to the top of AppAttributeData
Constructor for AppAttributeData class. This constructor automatically adds this attribute to the supplied ResidentApplication object.
Parameters:
Prototype:
AppAttributeData(ResidentApplication *app, AppAttribute attr, uint16 attrSize, const void *data);
Back to the top of AppAttributeData
AppAttribute GetAttrType(void) const;
Returns the AppAttribute associated with this object.
Return value: The AppAttribute whose data is referenced by this object.
See also: GetAttrData()
Prototype:
AppAttribute GetAttrType(void) const;
Back to the top of AppAttributeData
uint16 GetAttrDataSize(void) const;
Returns the size of the data whose pointer is stored in this object.
Return value: The size of the data.
See also: GetAttrData()
Prototype:
uint16 GetAttrDataSize(void) const;
Back to the top of AppAttributeData
const void *GetAttrData(void) const;
Returns a pointer to the data associated with this object.
Return value: A pointer to the data associated with this object.
See also: GetAttrDataSize()
Prototype:
const void *GetAttrData(void) const;
Back to the top of AppAttributeData