OpenWalnut
1.4.0
|
Class converts the specified property value to an index list. More...
#include <WGEShaderPropertyDefineOptions.h>
Public Types | |
typedef WGEShaderPropertyDefineOptions < WPropSelection >::IdxList | IdxList |
The type of the index-list to create. | |
Public Member Functions | |
IdxList | operator() (const WPVBaseTypes::PV_SELECTION &in) const |
Converts the specified property value to an index list. |
Class converts the specified property value to an index list.
The generic case for all int-castable property types is trivial. This is the specialization for WPropSelection which allows multiple options to be active if the selection has multiple selected items.
PropType | The property. WPropInt for example. |
Definition at line 188 of file WGEShaderPropertyDefineOptions.h.
typedef WGEShaderPropertyDefineOptions< WPropSelection >::IdxList WGEShaderPropertyDefineOptionsIndexAdapter< WPropSelection >::IdxList |
The type of the index-list to create.
Definition at line 194 of file WGEShaderPropertyDefineOptions.h.
IdxList WGEShaderPropertyDefineOptionsIndexAdapter< WPropSelection >::operator() | ( | const WPVBaseTypes::PV_SELECTION & | in | ) | const [inline] |
Converts the specified property value to an index list.
in | the value to convert to an index list |
Definition at line 203 of file WGEShaderPropertyDefineOptions.h.
References WItemSelector::getIndexList().