Open Inventor Release 2023.2.3
 
Loading...
Searching...
No Matches
SoAuditorList.h File Reference
#include <Inventor/misc/SoNotification.h>
#include <Inventor/STL/vector>

Go to the source code of this file.

Typedefs

typedef std::vector< AuditorListValue > ListContainer
 
typedef AuditorListValue value_type
 
typedef ListContainer::iterator iterator
 
typedef ListContainer::const_iterator const_iterator
 

Functions

 SoAuditorList ()
 
virtual ~SoAuditorList ()
 
void append (void *auditor, SoNotRec::Type type)
 
iterator find (void *auditor, SoNotRec::Type type)
 
size_t remove (void *auditor, SoNotRec::Type type)
 
virtual int getLength () const
 
size_t size () const
 
bool empty () const
 
template<typename Func >
void traverse (const Func &func)
 
template<typename Func >
void traverse_forward (const Func &func)
 
void notify (SoNotList *list)
 
iterator begin ()
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator cend () const
 

Typedef Documentation

◆ const_iterator

typedef ListContainer::const_iterator const_iterator

Definition at line 108 of file SoAuditorList.h.

◆ iterator

typedef ListContainer::iterator iterator

Definition at line 107 of file SoAuditorList.h.

◆ ListContainer

typedef std::vector<AuditorListValue> ListContainer
Initial value:
{
private:
struct AuditorListValue {
void* auditor;
SoNotRec::Type type;
AuditorListValue(void* auditor_, SoNotRec::Type type_)
: auditor(auditor_), type(type_)
{
}
AuditorListValue()
: auditor(0), type(SoNotRec::UNDEFINED)
{
}
}
SoNotRec(SoBase *b)

Definition at line 99 of file SoAuditorList.h.

◆ value_type

typedef AuditorListValue value_type

Definition at line 102 of file SoAuditorList.h.

Function Documentation

◆ append()

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

◆ begin()

const_iterator begin ( )

◆ cbegin()

const_iterator cbegin ( ) const

◆ cend()

const_iterator cend ( ) const

◆ empty()

bool empty ( ) const

◆ end()

const_iterator end ( )

◆ find()

const_iterator find ( void *  auditor,
SoNotRec::Type  type 
)

◆ getLength()

virtual int getLength ( ) const
virtual

◆ notify()

void notify ( SoNotList *  list)

◆ remove()

size_t remove ( void *  auditor,
SoNotRec::Type  type 
)

◆ size()

size_t size ( ) const

◆ SoAuditorList()

SoAuditorList ( )

◆ traverse()

template<typename Func >
void traverse ( const Func &  func)

Definition at line 126 of file SoAuditorList.h.

◆ traverse_forward()

template<typename Func >
void traverse_forward ( const Func &  func)

Definition at line 148 of file SoAuditorList.h.

◆ ~SoAuditorList()

virtual ~SoAuditorList ( )
virtual