Abstract interface for setting a option on a aux data container. More...
#include <IAuxSetOption.h>
Public Member Functions | |
virtual | ~IAuxSetOption () |
Make sure this class has a vtable. | |
virtual bool | setOption (const AuxDataOption &option)=0 |
Make an option setting. |
Abstract interface for setting a option on a aux data container.
A container used to hold auxiliary data can optionally provide this interface. This allows user code to set options for the container via the setOption
interface.
This is used, for example, to set packing parameters for PackedContainer
.
virtual bool SG::IAuxSetOption::setOption | ( | const AuxDataOption & | option | ) | [pure virtual] |
Make an option setting.
option | The option to set. |
The interpretation of the option depends on the concrete class.
Returns true if the option setting was successful; false otherwise.
Implemented in SG::PackedContainer< T >.