Choreonoid  1.8
Public Member Functions | List of all members
cnoid::ItemList< ItemType > Class Template Reference

#include <Item.h>

Public Member Functions

 ItemList ()
 
template<class RhsObjectType >
 ItemList (const ItemList< RhsObjectType > &rhs)
 
template<class SubType >
SubType * get (int index) const
 
ItemType * get (int index) const
 
ItemType * toSingle (bool allowFromMultiElements=false) const
 
bool extractSubTreeItems (const Item *root)
 
bool extractChildItems (const Item *item)
 
bool extractAssociatedItems (const Item *item)
 
bool extractSubItems (const Item *item)
 
ItemType * find (const std::string &name)
 

Constructor & Destructor Documentation

◆ ItemList() [1/2]

template<class ItemType >
cnoid::ItemList< ItemType >::ItemList ( )
inline

◆ ItemList() [2/2]

template<class ItemType >
template<class RhsObjectType >
cnoid::ItemList< ItemType >::ItemList ( const ItemList< RhsObjectType > &  rhs)
inline

Member Function Documentation

◆ extractAssociatedItems()

template<class ItemType >
bool cnoid::ItemList< ItemType >::extractAssociatedItems ( const Item item)
inline

◆ extractChildItems()

template<class ItemType >
bool cnoid::ItemList< ItemType >::extractChildItems ( const Item item)
inline

◆ extractSubItems()

template<class ItemType >
bool cnoid::ItemList< ItemType >::extractSubItems ( const Item item)
inline

◆ extractSubTreeItems()

template<class ItemType >
bool cnoid::ItemList< ItemType >::extractSubTreeItems ( const Item root)
inline

◆ find()

template<class ItemType >
ItemType* cnoid::ItemList< ItemType >::find ( const std::string &  name)
inline

◆ get() [1/2]

template<class ItemType >
template<class SubType >
SubType* cnoid::ItemList< ItemType >::get ( int  index) const
inline

◆ get() [2/2]

template<class ItemType >
ItemType* cnoid::ItemList< ItemType >::get ( int  index) const
inline

◆ toSingle()

template<class ItemType >
ItemType* cnoid::ItemList< ItemType >::toSingle ( bool  allowFromMultiElements = false) const
inline

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