Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members  

sptkObject Class Reference

#include <sptkobject.h>

Inheritance diagram for sptkObject:

spdtBorder spdtColor spdtElement spdtFont spdtList sptkBar sptkDialog sptkEventHandler sptkEventHandler sptkGadget sptkPlugin sptkSQLDatabase sptkSQLResult List of all members.

Public Member Functions

 sptkObject ()
virtual ~sptkObject ()
void setFlags (unsigned int flags)
unsigned int getFlags ()
void debug (std::string msg)
void setDebugging (bool debugging)
unsigned long getClassID ()
unsigned long getPluginID ()

Protected Attributes

unsigned long classID
unsigned long pluginID
bool debugging
unsigned int flags

Detailed Description

Author:
Sven Broenstrup


Constructor & Destructor Documentation

sptkObject::sptkObject  
 

Constructor of the Object

virtual sptkObject::~sptkObject   [virtual]
 

Destructor of the Object


Member Function Documentation

void sptkObject::debug std::string    msg
 

Print out debugging message if boolean debugging is set TRUE

Parameters:
msg Text of the debugging message

unsigned long sptkObject::getClassID  
 

Get the class ID of the current object

Returns:
Number representing class ID

unsigned int sptkObject::getFlags  
 

Get the Flags for a Gadget - see sptkid.h

Returns:
The flags set for a Gadget

unsigned long sptkObject::getPluginID  
 

Get the plugin ID of the current object, 0 if core object

Returns:
Number representing plugin ID, can be registered for free at http://sptk.org/

void sptkObject::setDebugging bool    debugging
 

Set the status of debugging

Parameters:
debugging boolean, set TRUE if you want debugging information, FALSE if no information wanted

void sptkObject::setFlags unsigned int    flags
 

Set Flags for a Gadget - see sptkid.h

Parameters:
flags Set the flags for a Gadget


Member Data Documentation

unsigned long sptkObject::classID [protected]
 

ID for the Class (see sptkid.h)

bool sptkObject::debugging [protected]
 

If TRUE print debugging messages

unsigned int sptkObject::flags [protected]
 

Flags of the Object - see sptkid.h

unsigned long sptkObject::pluginID [protected]
 

ID for the Plugin, 0 if Core


The documentation for this class was generated from the following file:
Powered by SPOM