SoEnabledElementsList.3coin2

Langue: en

Version: 373781 (fedora - 01/12/10)

Section: 3 (Bibliothèques de fonctions)

NAME

SoEnabledElementsList -

The SoEnabledElementsList class is a container for type info for element types that are enabled in actions.

This class is probably not interesting for the application programmer.

SYNOPSIS


#include <Inventor/lists/SoEnabledElementsList.h>

Public Member Functions


SoEnabledElementsList (SoEnabledElementsList *const parentlist)

~SoEnabledElementsList ()

const SoTypeList & getElements (void) const

void enable (const SoType elementtype, const int stackindex)

void merge (const SoEnabledElementsList &eel)

Static Public Member Functions


static int getCounter (void)

Detailed Description

The SoEnabledElementsList class is a container for type info for element types that are enabled in actions.

This class is probably not interesting for the application programmer.

Constructor & Destructor Documentation

SoEnabledElementsList::SoEnabledElementsList (SoEnabledElementsList *const parentlist)Constructor.

SoEnabledElementsList::~SoEnabledElementsList ()Destructor.

Member Function Documentation

const SoTypeList & SoEnabledElementsList::getElements (void) constReturn the list of enabled elements.

void SoEnabledElementsList::enable (const SoType elementtype, const int stackindex)Add an elementtype to the list of enabled elements if it's not enabled already.

References SoType::badType(), SoType::isBad(), and SoType::isDerivedFrom().

Referenced by SoAction::initClass(), and merge().

void SoEnabledElementsList::merge (const SoEnabledElementsList & eel)Enables all the elements from the eel list that is enabled in this instance.

References SoType::badType(), and enable().

int SoEnabledElementsList::getCounter (void) [static]Return the current setting of the global counter used to determine when lists are out of date. It is incremented whenever a new element is added to a list.

Referenced by SoAction::getState().

Author

Generated automatically by Doxygen for Coin from the source code.