interreality.org [VOS]
[Home] [About]
[Screenshots]
[Download]
[News]
[Community]
[Documentation] [Manual]
[Bugs & Requests] [Wiki]

libvos


Detailed Description

VOS Library.

required libraries: @ @ @ @

Classes

Functions


Function Documentation

template<>
void VUtil::iteratorReleaseItem ( VOS::ParentChildRelation **  pcr  )  [inline]

Specialization to call release on ParentChildRelation objects.

Definition at line 55 of file iterator.hh.

template<class C, class T>
VUtil::vRef<C> VOS::meta_cast ( VUtil::vRef< T >  v  )  [inline]

A special cast which allows you to retrieve some interface (if available) on the supplied Vobject.

        vRef<Vobject> vobj = site.createVobject2<Property, World>();
        vRef<Property> property = meta_cast<Property>(vobj);
        vRef<World> w = meta_cast<World>(property);

Parameters:
v the object to be cast
Returns:
a vRef pointing to the new interface, or a null vRef if the vObject does not support this interface.

Definition at line 40 of file meta_cast.hh.

template<class C>
VUtil::vRef<C> VOS::meta_cast ( Vobject &  v  )  [inline]

A special cast which allows you to retrieve some interface (if available) on the supplied Vobject.

        vRef<Vobject> vobj = site.createVobject2<Property, World>();
        vRef<Property> property = meta_cast<Property>(vobj);
        vRef<World> w = meta_cast<World>(property);

Parameters:
v the object to be cast
Returns:
a vRef pointing to the new interface, or a null vRef if the vObject does not support this interface.

Definition at line 21 of file meta_cast.hh.

template<class C>
VUtil::vRef<C> VOS::meta_cast ( Vobject *  v  )  [inline]

A special cast which allows you to retrieve some interface (if available) on the supplied Vobject.

        vRef<Vobject> vobj = site.createVobject2<Property, World>();
        vRef<Property> property = meta_cast<Property>(vobj);
        vRef<World> w = meta_cast<World>(property);

Parameters:
v the object to be cast
Returns:
a vRef pointing to the new interface, or a null vRef if the vObject does not support this interface.

Definition at line 12 of file meta_cast.hh.