SoDetailList(3IV)

SoDetailList (SoDtlList) - maintains a list of instances of details

As shipped in IRIX 6.5.22. Added in IRIX 6.5.22.

NAME
     SoDetailList (SoDtlList) - maintains a list of instances of details

INHERITS FROM
     SbPList > SoDetailList

SYNOPSIS
     #include <Inventor_c/SoLists.h>

     typedef SoDetailList  SoDtlList

          Functions from class SoDetailList:

     SoDetailList *      SoDtlListCreate()
     SoDetailList *      SoDtlListCreateSize(int size)
     void                SoDtlListDelete(SoDtlList *this)
     void                SoDtlListAppend(SoDtlList *this, SoDetail *detail)
     void                SoDtlListInsert(SoDtlList *this, SoDetail *detail,
                              int addBefore)
     void                SoDtlListTruncate(SoDtlList *this, int start)
     void                SoDtlListCopy(SoDtlList *this, const SoDetailList *l)
     SoDetail *          SoDtlListUnknownOperator(const SoDtlList *this, int
                              i)
     void                SoDtlListSet(SoDtlList *this, int i, SoDetail
                              *detail)

          Functions from class SbPList:

     int                 SoDtlListFind(const SoDtlList *this, const void *ptr)
     void                SoDtlListRemove(SoDtlList *this, int which)
     int                 SoDtlListGetLen(const SoDtlList *this)
     int                 SoDtlListIsEq(const SoDtlList *this, const SbPList
                              *pl)
     int                 SoDtlListIsNEq(const SoDtlList *this, const SbPList
                              *pl)


DESCRIPTION
     This subclass of SbPList holds lists of instances of classes derived from
     SoDetail.

FUNCTIONS
     SoDetailList *      SoDtlListCreate()
          Constructor.

     SoDetailList *      SoDtlListCreateSize(int size)
          Constructor that pre-allocates storage for size pointers.

     void                SoDtlListDelete(SoDtlList *this)
          Destructor.
     void                SoDtlListAppend(SoDtlList *this, SoDetail *detail)
          Adds a detail to the end of the list.

     void                SoDtlListInsert(SoDtlList *this, SoDetail *detail,
                              int addBefore)
          Inserts given detail in list before detail with given index.

     void                SoDtlListTruncate(SoDtlList *this, int start)
          Removes all details after one with given index, inclusive. Removed
          detail instances are deleted.

     void                SoDtlListCopy(SoDtlList *this, const SoDetailList *l)
          Copies a list, making a copy of each detail instance in the list.

     SoDetail *          SoDtlListUnknownOperator(const SoDtlList *this, int
                              i)
          Accesses an element of a list.

     void                SoDtlListSet(SoDtlList *this, int i, SoDetail
                              *detail)
          Sets an element of a list, deleting the old entry first.


SEE ALSO
     SoDetail