/* ----------------------------------------------------------------------------
 * 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: StaticVariable extends: CVariable fields: swigCPtrForStaticVariable {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    super pvtSetCPtr: (CslNI cslNI_SWIGStaticVariableToCVariable: newCPtr) memoryOwn: newCMemoryOwn.
    swigCPtrForStaticVariable := newCPtr.
  ]

  Method [ getCPtrForStaticVariable
    ^swigCPtrForStaticVariable
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

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

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

  Function [ x: x
    ^self fromPointer: (CslNI cslNI_new_StaticVariable__SWIG_0: x) memoryOwn: true
  ]

  Function [ x: x
    ^self fromPointer: (CslNI cslNI_new_StaticVariable__SWIG_1: x) memoryOwn: true
  ]

  Function [ x: x
    ^self fromPointer: (CslNI cslNI_new_StaticVariable__SWIG_2: x) memoryOwn: true
  ]

  Method [ isFixed 
	^(CslNI cslNI_StaticVariable_isFixed: swigCPtrForStaticVariable ) asBoolean
  ]

  Method [ nextBuffer: outputBuffer outBufNum: outBufNum 
    CslNI cslNI_StaticVariable_nextBuffer: swigCPtrForStaticVariable with: (Buffer getCPtr: outputBuffer) with: outBufNum
  ]

  Method [ value 
    ^CslNI cslNI_StaticVariable_value: swigCPtrForStaticVariable 
  ]

  Method [ setValue: x 
    CslNI cslNI_StaticVariable_setValue__SWIG_0: swigCPtrForStaticVariable with: x
  ]

  Method [ setValue: x 
    CslNI cslNI_StaticVariable_setValue__SWIG_1: swigCPtrForStaticVariable with: x
  ]

  Method [ setValue: x 
    CslNI cslNI_StaticVariable_setValue__SWIG_2: swigCPtrForStaticVariable with: x
  ]

}
