SoEngineList(3) Coin SoEngineList(3)NAME
SoEngineList -
The SoEngineList class is a container for SoEngine objects.
As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc.
SYNOPSIS
#include <Inventor/lists/SoEngineList.h>
Inherits SoBaseList.
Public Member Functions
SoEngineList (void)
SoEngineList (const int size)
SoEngineList (const SoEngineList &el)
~SoEngineList ()
void append (SoEngine *const ptr)
SoEngine * operator[] (const int i) const
SoEngineList & operator= (const SoEngineList &el)
Detailed Description
The SoEngineList class is a container for SoEngine objects.
As this class inherits SoBaseList, referencing and dereferencing will default be done on the objects at append(), remove(), insert() etc.
Constructor & Destructor Documentation
SoEngineList::SoEngineList (void)
Default constructor.
SoEngineList::SoEngineList (const intsize)
Constructor with a hint about the number of elements the list will hold.
See also:
SoBaseList::SoBaseList(const int)
SoEngineList::SoEngineList (const SoEngineList &el)
Copy constructor.
See also:
SoBaseList::SoBaseList(const SoBaseList &)
SoEngineList::~SoEngineList ()
Destructor.
See also:
SoBaseList::~SoBaseList()
Member Function Documentation
void SoEngineList::append (SoEngine *constptr)
Append ptr to the list.
See also:
SoBaseList::append()
SoEngine * SoEngineList::operator[] (const inti) const
Return engine pointer at index i.
See also:
SoBaseList::operator[]()
Reimplemented from SoBaseList.
SoEngineList & SoEngineList::operator= (const SoEngineList &el)
Copy contents of list el to this list.
See also:
SoBaseList::operator=()
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoEngineList(3)
Check Out this Related Man Page
SoEngineOutputData(3) Coin SoEngineOutputData(3)NAME
SoEngineOutputData -
The SoEngineOutputData class is a container for a prototype set of outputs.
This class is instantiated once for each class of objects which use outputs, and which needs to be able to import and export them.
SYNOPSIS
#include <Inventor/engines/SoOutputData.h>
Public Member Functions
SoEngineOutputData (void)
SoEngineOutputData (const SoEngineOutputData *data)
SoEngineOutputData (int approxnum)
~SoEngineOutputData (void)
void addOutput (const SoEngine *base, const char *name, const SoEngineOutput *output, SoType type)
void addOutput (const SoNodeEngine *base, const char *name, const SoEngineOutput *output, SoType type)
int getNumOutputs (void) const
const SbName & getOutputName (int index) const
SoEngineOutput * getOutput (const SoEngine *engine, int index) const
SoEngineOutput * getOutput (const SoNodeEngine *engine, int index) const
int getIndex (const SoEngine *engine, const SoEngineOutput *output) const
int getIndex (const SoNodeEngine *engine, const SoEngineOutput *output) const
const SoType & getType (int index) const
SbBool readDescriptions (SoInput *input, SoEngine *engine) const
void writeDescriptions (SoOutput *out, SoEngine *engine) const
Detailed Description
The SoEngineOutputData class is a container for a prototype set of outputs.
This class is instantiated once for each class of objects which use outputs, and which needs to be able to import and export them.
Each output of a class is stored with the name and type it has been given within its 'owner' class and a pointer offset to the dynamic
instance of the output itself.
It is unlikely that application programmers should need to use any of the methods of this class directly.
Constructor & Destructor Documentation
SoEngineOutputData::SoEngineOutputData (void)
Constructor.
SoEngineOutputData::SoEngineOutputData (const SoEngineOutputData *data)
Copy constructor.
SoEngineOutputData::SoEngineOutputData (intapproxnum)
Constructor. Supply the approximated number of outputs in the engine ot optimize memory allocation.
SoEngineOutputData::~SoEngineOutputData (void)
Destructor.
Member Function Documentation
void SoEngineOutputData::addOutput (const SoEngine *base, const char *name, const SoEngineOutput *output, SoTypetype)
Add a new output to our internal list.
The name and type will be stored along with a pointer offset between base and output, which will be valid for all instances of the class
type of base.
void SoEngineOutputData::addOutput (const SoNodeEngine *base, const char *name, const SoEngineOutput *output, SoTypetype)
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
int SoEngineOutputData::getNumOutputs (void) const
Returns the number of outputs contained within this instance.
const SbName & SoEngineOutputData::getOutputName (intindex) const
Returns the name of the output at index.
SoEngineOutput * SoEngineOutputData::getOutput (const SoEngine *engine, intindex) const
Returns a pointer to the output at index within the engine instance.
SoEngineOutput * SoEngineOutputData::getOutput (const SoNodeEngine *engine, intindex) const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
int SoEngineOutputData::getIndex (const SoEngine *engine, const SoEngineOutput *output) const
Returns the internal index value of output in engine. If output is not part of engine, it returns -1.
int SoEngineOutputData::getIndex (const SoNodeEngine *engine, const SoEngineOutput *output) const
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
const SoType & SoEngineOutputData::getType (intindex) const
Returns the type of the output at index.
SbBool SoEngineOutputData::readDescriptions (SoInput *input, SoEngine *engine) const
FIXME: doc
Author
Generated automatically by Doxygen for Coin from the source code.
Version 3.1.3 Wed May 23 2012 SoEngineOutputData(3)