![]() |
http://www.sim.no http://www.coin3d.org |
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. More...
#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) |
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.
SoEnabledElementsList::SoEnabledElementsList | ( | SoEnabledElementsList *const | parentlist | ) |
Constructor.
SoEnabledElementsList::~SoEnabledElementsList | ( | ) |
Destructor.
const SoTypeList & SoEnabledElementsList::getElements | ( | void | ) | const |
Return 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().
Copyright © 1998-2007 by Systems in Motion AS. All rights reserved.
Generated on Mon Feb 28 2011 10:12:08 for Coin by Doxygen. 1.7.3