Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

sodetaillist(3) [debian man page]

SoDetailList(3) 						       Coin							   SoDetailList(3)

NAME
SoDetailList - The SoDetailList class is a container for pointers to SoDetail objects. This list class will delete the details when destructed/truncated, or when a detail in the list is replaced by another detail. The caller is responsible for allocating the details passed to the list, but should not deallocate them since this will be handled by the list. SYNOPSIS
#include <Inventor/lists/SoDetailList.h> Inherits SbPList. Public Member Functions SoDetailList (void) SoDetailList (const int sizehint) SoDetailList (const SoDetailList &l) ~SoDetailList () void append (SoDetail *detail) void insert (SoDetail *detail, const int insertbefore) void truncate (const int length, const int fit=0) void copy (const SoDetailList &l) SoDetailList & operator= (const SoDetailList &l) SoDetail * operator[] (const int idx) const void set (const int index, SoDetail *item) Additional Inherited Members Detailed Description The SoDetailList class is a container for pointers to SoDetail objects. This list class will delete the details when destructed/truncated, or when a detail in the list is replaced by another detail. The caller is responsible for allocating the details passed to the list, but should not deallocate them since this will be handled by the list. See also: SbPList Constructor &; Destructor Documentation SoDetailList::SoDetailList (void) [inline] Default constructor. SoDetailList::SoDetailList (const intsizehint) [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) SoDetailList::SoDetailList (const SoDetailList &l) Copy constructor. SoDetailList::~SoDetailList () Destructor. Member Function Documentation void SoDetailList::truncate (const intlength, const intfit = 0) Overridden to delete truncated items. Reimplemented from SbPList. void SoDetailList::copy (const SoDetailList &l) Overridden to copy items, not just pointers. SoDetail * SoDetailList::operator[] (const intidx) const [inline] Returns element at idx. Will automatically expand the size of the internal array if idx is outside the current bounds of the list. The values of any additional pointers are then set to NULL. Reimplemented from SbPList. void SoDetailList::set (const intidx, SoDetail *detail) Overridden to delete old item. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SoDetailList(3)

Check Out this Related Man Page

SbStringList(3) 						       Coin							   SbStringList(3)

NAME
SbStringList - The SbStringList class is a container for arrays of SbString pointers. Note that upon using the equality and inequality operators, the strings themselves are not compared, only the pointer values. SYNOPSIS
#include <Inventor/lists/SbStringList.h> Inherits SbPList. Public Member Functions SbStringList (void) SbStringList (const int sizehint) void append (SbString *string) int find (SbString *string) const void insert (SbString *string, int insertbefore) SbString *& operator[] (const int idx) const const SbString ** getArrayPtr (void) const Additional Inherited Members Detailed Description The SbStringList class is a container for arrays of SbString pointers. Note that upon using the equality and inequality operators, the strings themselves are not compared, only the pointer values. This class do not allocate or deallocate strings. It's the callers responsibility to allocate/deallocate the SbString instances. See also: SbPList Constructor &; Destructor Documentation SbStringList::SbStringList (void) [inline] Default constructor. SbStringList::SbStringList (const intsizehint) [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: SPbList::SbList(const int sizehint) Member Function Documentation int SbStringList::find (SbString *string) const [inline] Overridden from parent to accept an SbString argument. void SbStringList::insert (SbString *string, intinsertbefore) [inline] Overridden from parent to accept an SbString argument. SbString *& SbStringList::operator[] (const intidx) const [inline] Overridden from parent to return an SbString pointer. Reimplemented from SbPList. const SbString ** SbStringList::getArrayPtr (void) const [inline] Overridden from parent to return an SbString pointer array. Author Generated automatically by Doxygen for Coin from the source code. Version 3.1.3 Wed May 23 2012 SbStringList(3)
Man Page