Coin Logo http://www.sim.no
http://www.coin3d.org

Public Member Functions | List of all members
SoAuditorList Class Reference

The SoAuditorList class is used to keep track of auditors for certain object classes.This class is mainly for internal use (from SoBase) and it should not be necessary to be familiar with it for "ordinary" Coin use. More...

#include <Inventor/lists/SoAuditorList.h>

Inheritance diagram for SoAuditorList:
SbPList

Public Member Functions

 SoAuditorList (void)
 
 ~SoAuditorList ()
 
void append (void *const auditor, const SoNotRec::Type type)
 
void set (const int index, void *const auditor, const SoNotRec::Type type)
 
void * getObject (const int index) const
 
SoNotRec::Type getType (const int index) const
 
int getLength (void) const
 
int find (void *const auditor, const SoNotRec::Type type) const
 
void remove (const int index)
 
void remove (void *const auditor, const SoNotRec::Type type)
 
void notify (SoNotList *l)
 

Additional Inherited Members

- Private Member Functions inherited from SbPList
 SbPList (const int sizehint=DEFAULTSIZE)
 
 SbPList (const SbPList &l)
 
 ~SbPList ()
 
void copy (const SbPList &l)
 
SbPListoperator= (const SbPList &l)
 
void fit (void)
 
void append (void *item)
 
int find (void *item) const
 
void insert (void *item, const int insertbefore)
 
void removeItem (void *item)
 
void remove (const int index)
 
void removeFast (const int index)
 
int getLength (void) const
 
void truncate (const int length, const int fit=0)
 
void ** getArrayPtr (const int start=0) const
 
void *& operator[] (const int index) const
 
int operator== (const SbPList &l) const
 
int operator!= (const SbPList &l) const
 
void * get (const int index) const
 
void set (const int index, void *item)
 
void expand (const int size)
 
int getArraySize (void) const
 

Detailed Description

The SoAuditorList class is used to keep track of auditors for certain object classes.

This class is mainly for internal use (from SoBase) and it should not be necessary to be familiar with it for "ordinary" Coin use.

Constructor & Destructor Documentation

SoAuditorList::SoAuditorList ( void  )

Default constructor.

SoAuditorList::~SoAuditorList ( )

Destructor.

Member Function Documentation

void SoAuditorList::append ( void *const  auditor,
const SoNotRec::Type  type 
)

Append an auditor of type to the list.

References SbPList::append().

void SoAuditorList::set ( const int  index,
void *const  auditor,
const SoNotRec::Type  type 
)

Set auditor pointer and auditor type in list at index.

References getLength(), and SbPList::set().

void * SoAuditorList::getObject ( const int  index) const

Returns auditor pointer at index.

References SbPList::operator[]().

Referenced by find(), and notify().

SoNotRec::Type SoAuditorList::getType ( const int  index) const

Returns auditor type at index.

Referenced by find(), and notify().

int SoAuditorList::getLength ( void  ) const

Returns number of elements in list.

References SbPList::getLength().

Referenced by find(), SoBase::getAuditors(), notify(), remove(), and set().

int SoAuditorList::find ( void *const  auditor,
const SoNotRec::Type  type 
) const

Find auditor of type in list and return index. Returns -1 if auditor is not in the list.

References getLength(), getObject(), and getType().

Referenced by remove().

void SoAuditorList::remove ( const int  index)

Remove auditor at index.

References getLength(), and SbPList::remove().

Referenced by SoBase::getAuditors(), and SoBase::~SoBase().

void SoAuditorList::remove ( void *const  auditor,
const SoNotRec::Type  type 
)

Remove auditor of type from list.

References find().

void SoAuditorList::notify ( SoNotList l)

Send notification to all our auditors.

References SbPList::append(), SbPList::find(), getLength(), getObject(), and getType().


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

Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.

Generated on Thu Aug 22 2013 for Coin by Doxygen. 1.8.4