CompoundParam (object)¶
バージョン 1.12.0 で追加.
The CompoundParam (object) implements the Param (interface) interface for a nestable data structure. Compound parameters can be used to define a tree of values.
CompoundParam param = CompoundParam flags = param.addParam(:ref:`CompoundParam <compoundparam>`(‘flags’)); flags.addParam(:ref:`BooleanParam <booleanparam>`(‘visible’, true)); flags.addParam(:ref:`BooleanParam <booleanparam>`(‘transparent’, false)); flags.addParam(:ref:`BooleanParam <booleanparam>`(‘culling’, true));
Methods¶
CompoundParam ( in CompoundParam other ) | |
CompoundParam ( in String name ) | |
CompoundParam () | |
Param | addParam ! ( in Param param ) |
CompoundParam | clone ? () |
String | getName ? () |
Param | getOption ? ( in String name ) |
Param | getParam ? ( in Index index ) |
Param | getParam ? ( in String name ) |
String | getValueType ? () |
Boolean | hasParam ? ( in String name ) |
Size | paramCount ? () |
removeParam ! ( in Param param ) | |
removeParam ! ( in String name ) | |
setOption ! ( in Param option ) |
Methods in detail¶
CompoundParam ( in CompoundParam other )
copy constructor
CompoundParam ( in String name )
default constructor
Param CompoundParam.addParam! ( in Param param )
CompoundParam CompoundParam.clone? ()
clone method
String CompoundParam.getName? ()
Param CompoundParam.getOption? ( in String name )
Param CompoundParam.getParam? ( in Index index )
Param CompoundParam.getParam? ( in String name )
String CompoundParam.getValueType? ()
Boolean CompoundParam.hasParam? ( in String name )
Size CompoundParam.paramCount? ()
CompoundParam.removeParam! ( in Param param )
CompoundParam.removeParam! ( in String name )
CompoundParam.setOption! ( in Param option )