Public API Reference

iutil/object.h File Reference

Generic object interface. More...

#include "csutil/scf.h"
#include "csutil/scf_interface.h"
#include "csutil/ref.h"

Go to the source code of this file.


struct  iObject
 This interface is an SCF interface for encapsulating csObject. More...
struct  iObjectIterator
 This is an iterator for child objects of a csObject. More...
struct  iObjectNameChangeListener
 A callback that you can implement to get notified of name changes in an iObject. More...


namespace  CS

Main namespace for CrystalSpace.


#define CS_GET_CHILD_OBJECT(Object, Interface)   (CS_GET_CHILD_OBJECT_is_deprecated<Interface> (Object))
#define CS_GET_FIRST_NAMED_CHILD_OBJECT(Object, Interface, Name)   (CS_GET_FIRST_NAMED_CHILD_OBJECT_is_deprecated<Interface> (Object, Name))
#define CS_GET_NAMED_CHILD_OBJECT(Object, Interface, Name)   (CS_GET_NAMED_CHILD_OBJECT_is_deprecated<Interface> (Object, Name))


template<typename Interface >
static csPtr< Interface > CS::GetChildObject (iObject *object)
 Get a child from an object that implements a specific interface.
template<typename Interface >
static csPtr< Interface > CS::GetNamedChildObject (iObject *object, const char *name)
 Get a child from an object that has the given name and implements a specific interface.

Detailed Description

Generic object interface.

Definition in file object.h.

Generated for Crystal Space 2.0 by doxygen 1.6.1