This is the base object class. It only stores the object's name and a user data pointer for general purpose.
More...
#include <spBaseObject.hpp>
List of all members.
Detailed Description
This is the base object class. It only stores the object's name and a user data pointer for general purpose.
Constructor & Destructor Documentation
virtual sp::BaseObject::~BaseObject |
( |
|
) |
[inline, virtual] |
sp::BaseObject::BaseObject |
( |
|
) |
[inline, protected] |
sp::BaseObject::BaseObject |
( |
const io::stringc & |
Name |
) |
[inline, protected] |
Member Function Documentation
Returns the objects's name.
void* sp::BaseObject::getUserData |
( |
|
) |
const [inline] |
- Returns:
- Pointer to an individual data field which can be defined by the user. Use ANSI-C casting e.g. like: "MyDataStructure* MyData = (MyDataStructure*)MyNodeObject->getUserData();". The pointer type must be the same which has been set before with "setUserData".
s32 sp::BaseObject::getUserDataFlags |
( |
|
) |
const [inline] |
Returns the user data flags. By default 0.
- See also:
- getUserData
- Since:
- Version 3.2
void sp::BaseObject::setName |
( |
const io::stringc & |
Name |
) |
[inline] |
void sp::BaseObject::setUserData |
( |
void * |
Data |
) |
[inline] |
Sets the user data.
- Parameters:
-
| Data,: | Pointer to an individual data field which can be defined by the user. By default 0 when the pointer is unused. |
void sp::BaseObject::setUserDataFlags |
( |
s32 |
Flags |
) |
[inline] |
Sets the user data flags. Use this to determine from which type the user data is.
- See also:
- setUserData
- Since:
- Version 3.2
Member Data Documentation
The documentation for this class was generated from the following file:
- D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/Base/spBaseObject.hpp