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

Public Member Functions | Static Public Member Functions

SoEnabledElementsList Class Reference

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>

List of all members.

Public Member Functions

 SoEnabledElementsList (SoEnabledElementsList *const parentlist)
 ~SoEnabledElementsList ()
const SoTypeListgetElements (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  ) 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().


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

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