sotypelist(3)
NAME
SoTypeList
SYNOPSIS
#include <Inventor/lists/SoTypeList.h> Inherits SbPList.
Detailed Description
The SoTypeList class is a container class for arrays of SoType objects.
- See also:
- SbList
- Public Member Functions
- SoTypeList (void)
SoTypeList (const int sizehint)
SoTypeList (const SoTypeList &l) void append (const SoType type)
int find (const SoType type) const
void insert (const SoType type, const int insertbefore) SoType operator[] (const int idx) const void set (const int index, const SoType item)
Constructor & Destructor Documentation
- SoTypeList::SoTypeList (void) [inline]
- Default constructor.
- SoTypeList::SoTypeList (const int sizehint) [inline]
- This constructor initializes the internal allocated size for the list
to sizehint. Note that the list will still initially contain zero items. - See also:
SbList::SbList(const int sizehint)
- SoTypeList::SoTypeList (const SoTypeList & l) [inline]
- Copy constructor.
- See also:
SbList::SbList(const SbList<Type> & l)
Member Function Documentation
- void SoTypeList::append (const SoType type)
- Overridden from parent to accept an SoType argument.
- References SbPList::append(), and SoType::getKey().
- Referenced by SoNodeKitListPart::copyContents(),
SoElement::createStackIndex(), SoType::getAllDerivedFrom(),
SoNodeKitListPart::getChildTypes(), and
SoNodekitCatalog::recursiveSearch(). - int SoTypeList::find (const SoType type) const
- Overridden from parent to accept an SoType argument.
- References SbPList::find(), and SoType::getKey().
- Referenced by SoNodekitCatalog::recursiveSearch(), and
SoToVRML2Action::SoToVRML2Action(). - void SoTypeList::insert (const SoType type, const int insertbefore)
- Overridden from parent to accept an SoType argument.
- References SoType::getKey(), and SbPList::insert().
- SoType SoTypeList::operator[] (const int idx) const
- Overridden from parent to return an SoType instance..
- Reimplemented from SbPList.
- References SoType::fromKey().
- void SoTypeList::set (const int index, const SoType item)
- This method sets the element at index to item. Overridden to accept an SoType argument.
- References SoType::getKey(), and SbPList::set().
Author
- Generated automatically by Doxygen for Coin from the source code.