/* ----------------------------------------------------------------------------
 * This file was automatically generated by SWIG (http://www.swig.org).
 * Version: 1.3.21
 *
 * Do not make changes to this file unless you know what you are doing--modify
 * the SWIG interface file instead.
 * ----------------------------------------------------------------------------- */


Class name: DynamicVariable extends: CVariable fields: swigCPtrForDynamicVariable {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    super pvtSetCPtr: (CslNI cslNI_SWIGDynamicVariableToCVariable: newCPtr) memoryOwn: newCMemoryOwn.
    swigCPtrForDynamicVariable := newCPtr.
  ]

  Method [ getCPtrForDynamicVariable
    ^swigCPtrForDynamicVariable
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForDynamicVariable ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      CslNI cslNI_delete_DynamicVariable: swigCPtrForDynamicVariable.
    ].
    swigCPtrForDynamicVariable := 0.
    super delete.
  ]

  Function[ getCPtr: obj
     obj isNil ifTrue:[^0].
     ^obj getCPtrForDynamicVariable
  ]

  Function [ vox: vox val: val
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_0: (UnitGenerator getCPtr: vox), val) memoryOwn: true
  ]

  Function [ vox: vox val: val
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_1: (UnitGenerator getCPtr: vox), val) memoryOwn: true
  ]

  Function [ val: val vox: vox
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_2: val, (UnitGenerator getCPtr: vox)) memoryOwn: true
  ]

  Function [ val: val vox: vox m: m
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_3: val, (UnitGenerator getCPtr: vox), m) memoryOwn: true
  ]

  Function [ vox: vox val: val m: m
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_4: (UnitGenerator getCPtr: vox), val, m) memoryOwn: true
  ]

  Function [ val: val vox: vox
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_5: val, (UnitGenerator getCPtr: vox)) memoryOwn: true
  ]

  Function [ vox: vox val: val
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_6: (UnitGenerator getCPtr: vox), val) memoryOwn: true
  ]

  Function [ val: val vox: vox m: m
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_7: val, (UnitGenerator getCPtr: vox), m) memoryOwn: true
  ]

  Function [ vox: vox val: val m: m
    ^self fromPointer: (CslNI cslNI_new_DynamicVariable__SWIG_8: (UnitGenerator getCPtr: vox), val, m) memoryOwn: true
  ]

  Method [ nextBuffer: outputBuffer outBufNum: outBufNum 
    CslNI cslNI_DynamicVariable_nextBuffer: swigCPtrForDynamicVariable with: (Buffer getCPtr: outputBuffer) with: outBufNum
  ]

  Method [ setValue: x 
    CslNI cslNI_DynamicVariable_setValue__SWIG_0: swigCPtrForDynamicVariable with: x
  ]

  Method [ setValue: x 
    CslNI cslNI_DynamicVariable_setValue__SWIG_1: swigCPtrForDynamicVariable with: x
  ]

  Method [ setValue: x 
    CslNI cslNI_DynamicVariable_setValue__SWIG_2: swigCPtrForDynamicVariable with: x
  ]

}
