ParamDict (object)

バージョン 1.12.0 で追加.

The ParamDict (object) object is used to store a list of parameters based on names.


ParamDict dict();

// store a scalar and a color dict.setFloat64(‘length’, 1.7); dict.setColor(‘diffuse’, :ref:`Color <color>`(1.0, 0.0, 0.0));

// restore them report(dict.getFloat64(‘length’)); report(dict.getColor(‘diffuse’));

ParamDict ParamDict ParamDict

Methods

  ParamDict ( in ParamDict other )
  ParamDict ()
  clear ! ()
ParamDict clone ? ()
Param get ? ( in String name )
Boolean getBoolean ? ( in String name )
Boolean[] getBooleanArray ? ( in String name )
Color getColor ? ( in String name )
Color[] getColorArray ? ( in String name )
Euler getEuler ? ( in String name )
Euler[] getEulerArray ? ( in String name )
Float64 getFloat64 ? ( in String name )
Float64[] getFloat64Array ? ( in String name )
Mat33 getMat33 ? ( in String name )
Mat33[] getMat33Array ? ( in String name )
Mat44 getMat44 ? ( in String name )
Mat44[] getMat44Array ? ( in String name )
Object getObject ? ( in String name )
Object[] getObjectArray ? ( in String name )
String[] getParamNames ? ()
Quat getQuat ? ( in String name )
Quat[] getQuatArray ? ( in String name )
SInt32 getSInt32 ? ( in String name )
SInt32[] getSInt32Array ? ( in String name )
String getString ? ( in String name )
String[] getStringArray ? ( in String name )
StructParam getStruct ? ( in String name )
  getStructData ? ( in String name, io Data data )
  getStructType ? ( in String name, io UInt64 dataSize, io String type )
String getValueType ? ( in String name )
Vec3 getVec3 ? ( in String name )
Vec3[] getVec3Array ? ( in String name )
Xfo getXfo ? ( in String name )
Xfo[] getXfoArray ? ( in String name )
Boolean has ? ( in String name )
  set ! ( in String name, in Param param )
  setBoolean ! ( in String name, in Boolean value )
  setBooleanArray ! ( in String name, in Boolean values[] )
  setColor ! ( in String name, in Color value )
  setColorArray ! ( in String name, in Color values[] )
  setEuler ! ( in String name, in Euler value )
  setEulerArray ! ( in String name, in Euler values[] )
  setFloat64 ! ( in String name, in Float64 value )
  setFloat64Array ! ( in String name, in Float64 values[] )
  setMat33 ! ( in String name, in Mat33 value )
  setMat33Array ! ( in String name, in Mat33 values[] )
  setMat44 ! ( in String name, in Mat44 value )
  setMat44Array ! ( in String name, in Mat44 values[] )
  setObject ! ( in String name, in Object value )
  setObjectArray ! ( in String name, in Object values[] )
  setQuat ! ( in String name, in Quat value )
  setQuatArray ! ( in String name, in Quat values[] )
  setSInt32 ! ( in String name, in SInt32 value )
  setSInt32Array ! ( in String name, in SInt32 values[] )
  setString ! ( in String name, in String value )
  setStringArray ! ( in String name, in String values[] )
  setStruct ! ( in String name, in Type type, in Data data, in UInt64 dataSize )
  setVec3 ! ( in String name, in Vec3 value )
  setVec3Array ! ( in String name, in Vec3 values[] )
  setXfo ! ( in String name, in Xfo value )
  setXfoArray ! ( in String name, in Xfo values[] )
Size size ? ()

Methods in detail

ParamDict ( in ParamDict other )

copy constructor


ParamDict ()

default constructor


ParamDict.clear! ()


ParamDict ParamDict.clone? ()

clone method


Param ParamDict.get? ( in String name )

getting a Param contained in the ParamDict


Boolean ParamDict.getBoolean? ( in String name )

getting a Boolean value from the ParamDict


Boolean[] ParamDict.getBooleanArray? ( in String name )

getting a Boolean array value from the ParamDict


Color ParamDict.getColor? ( in String name )

getting a Color value from the ParamDict


Color[] ParamDict.getColorArray? ( in String name )

getting a Color array value from the ParamDict


Euler ParamDict.getEuler? ( in String name )

getting a Euler value from the ParamDict


Euler[] ParamDict.getEulerArray? ( in String name )

getting a Euler array value from the ParamDict


Float64 ParamDict.getFloat64? ( in String name )

getting a Float64 value from the ParamDict


Float64[] ParamDict.getFloat64Array? ( in String name )

getting a Float64 array value from the ParamDict


Mat33 ParamDict.getMat33? ( in String name )

getting a Mat33 value from the ParamDict


Mat33[] ParamDict.getMat33Array? ( in String name )

getting a Mat33 array value from the ParamDict


Mat44 ParamDict.getMat44? ( in String name )

getting a Mat44 value from the ParamDict


Mat44[] ParamDict.getMat44Array? ( in String name )

getting a Mat44 array value from the ParamDict


Object ParamDict.getObject? ( in String name )

getting a Object value from the ParamDict


Object[] ParamDict.getObjectArray? ( in String name )

getting a Object array value from the ParamDict


String[] ParamDict.getParamNames? ()

returns all parameter names in this ParamDict


Quat ParamDict.getQuat? ( in String name )

getting a Quat value from the ParamDict


Quat[] ParamDict.getQuatArray? ( in String name )

getting a Quat array value from the ParamDict


SInt32 ParamDict.getSInt32? ( in String name )

getting a SInt32 value from the ParamDict


SInt32[] ParamDict.getSInt32Array? ( in String name )

getting a SInt32 array value from the ParamDict


String ParamDict.getString? ( in String name )

getting a String value from the ParamDict


String[] ParamDict.getStringArray? ( in String name )

getting a String array value from the ParamDict


StructParam ParamDict.getStruct? ( in String name )

getting a Struct value from the ParamDict


ParamDict.getStructData? ( in String name, io Data data )

getting a Struct value from the ParamDict


ParamDict.getStructType? ( in String name, io UInt64 dataSize, io String type )

getting a Struct value from the ParamDict


String ParamDict.getValueType? ( in String name )

return the value type for a given Param


Vec3 ParamDict.getVec3? ( in String name )

getting a Vec3 value from the ParamDict


Vec3[] ParamDict.getVec3Array? ( in String name )

getting a Vec3 array value from the ParamDict


Xfo ParamDict.getXfo? ( in String name )

getting a Xfo value from the ParamDict


Xfo[] ParamDict.getXfoArray? ( in String name )

getting a Xfo array value from the ParamDict


Boolean ParamDict.has? ( in String name )

returns true if a certain Param is part of the ParamDict


ParamDict.set! ( in String name, in Param param )

setting a Param in the ParamDict


ParamDict.setBoolean! ( in String name, in Boolean value )

setting a Boolean value on the ParamDict


ParamDict.setBooleanArray! ( in String name, in Boolean values[] )

setting a Boolean array value on the ParamDict


ParamDict.setColor! ( in String name, in Color value )

setting a Color value on the ParamDict


ParamDict.setColorArray! ( in String name, in Color values[] )

setting a Color array value on the ParamDict


ParamDict.setEuler! ( in String name, in Euler value )

setting a Euler value on the ParamDict


ParamDict.setEulerArray! ( in String name, in Euler values[] )

setting a Euler array value on the ParamDict


ParamDict.setFloat64! ( in String name, in Float64 value )

setting a Float64 value on the ParamDict


ParamDict.setFloat64Array! ( in String name, in Float64 values[] )

setting a Float64 array value on the ParamDict


ParamDict.setMat33! ( in String name, in Mat33 value )

setting a Mat33 value on the ParamDict


ParamDict.setMat33Array! ( in String name, in Mat33 values[] )

setting a Mat33 array value on the ParamDict


ParamDict.setMat44! ( in String name, in Mat44 value )

setting a Mat44 value on the ParamDict


ParamDict.setMat44Array! ( in String name, in Mat44 values[] )

setting a Mat44 array value on the ParamDict


ParamDict.setObject! ( in String name, in Object value )

setting a Object value on the ParamDict


ParamDict.setObjectArray! ( in String name, in Object values[] )

setting a Object array value on the ParamDict


ParamDict.setQuat! ( in String name, in Quat value )

setting a Quat value on the ParamDict


ParamDict.setQuatArray! ( in String name, in Quat values[] )

setting a Quat array value on the ParamDict


ParamDict.setSInt32! ( in String name, in SInt32 value )

setting a SInt32 value on the ParamDict


ParamDict.setSInt32Array! ( in String name, in SInt32 values[] )

setting a SInt32 array value on the ParamDict


ParamDict.setString! ( in String name, in String value )

setting a String value on the ParamDict


ParamDict.setStringArray! ( in String name, in String values[] )

setting a String array value on the ParamDict


ParamDict.setStruct! ( in String name, in Type type, in Data data, in UInt64 dataSize )

setting a Struct value on the ParamDict


ParamDict.setVec3! ( in String name, in Vec3 value )

setting a Vec3 value on the ParamDict


ParamDict.setVec3Array! ( in String name, in Vec3 values[] )

setting a Vec3 array value on the ParamDict


ParamDict.setXfo! ( in String name, in Xfo value )

setting a Xfo value on the ParamDict


ParamDict.setXfoArray! ( in String name, in Xfo values[] )

setting a Xfo array value on the ParamDict


Size ParamDict.size? ()