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

VOS::ParentChildRelation Class Reference
[libvos]

#include <vos/vos/parentchildrel.hh>

Inheritance diagram for VOS::ParentChildRelation:

VUtil::RefCounted List of all members.

Detailed Description

This class represents the link from a parent to a child, describing the entry in the parent's child list.

Definition at line 50 of file parentchildrel.hh.

Public Member Functions

Friends


Constructor & Destructor Documentation

VOS::ParentChildRelation::ParentChildRelation ( Vobject parent,
Vobject child,
int  pos,
const std::string &  cn 
)

Constructor.

Parameters:
parent the parent vobject
child the linked-to child vobject
pos the position in the child list
cn the contextual name in the child list

virtual VOS::ParentChildRelation::~ParentChildRelation (  )  [virtual]

Destructor.


Member Function Documentation

VUtil::vRef<Vobject> VOS::ParentChildRelation::getChild (  ) 

Returns:
child end of the link

const std::string& VOS::ParentChildRelation::getContextualName (  ) 

Returns:
contextual name describing the link in the parent's child list

VUtil::vRef<Vobject> VOS::ParentChildRelation::getParent (  ) 

Returns:
parent end of the link

int VOS::ParentChildRelation::getPosition (  ) 

Returns:
position of the child in the parent's child list


Friends And Related Function Documentation

friend class VobjectState [friend]

Definition at line 86 of file parentchildrel.hh.


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