iutil/object.h File Reference (Crystal Space 2.0 Public API Reference)

| ## Public API Reference

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Defines | Functions
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.

## Classes
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...
## Namespaces
namespace | CS
| Main namespace for CrystalSpace.
## Defines
#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))
## Functions
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.