/* ----------------------------------------------------------------------------
 * 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: Marker extends: SwigProxy fields: swigCPtrForMarker, swigCMemoryOwn {

  Method [ pvtSetCPtr: newCPtr memoryOwn: newCMemoryOwn
    swigCMemoryOwn := newCMemoryOwn.
    swigCPtrForMarker := newCPtr.
  ]

  Method [ getCPtrForMarker
    ^swigCPtrForMarker
  ]


  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

  Method [ delete 
    (swigCMemoryOwn and:[ swigCPtrForMarker ~~ 0 ]) ifTrue:[
      swigCMemoryOwn := false.
      LorisNI lorisNI_delete_Marker: swigCPtrForMarker.
    ].
    swigCPtrForMarker := 0.
  ]

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

  Function [ new
    ^self fromPointer: (LorisNI lorisNI_new_Marker__SWIG_0) memoryOwn: true
  ]

  Function [ t: t s: s
    ^self fromPointer: (LorisNI lorisNI_new_Marker__SWIG_1: t, s asNullTermStringParameter) memoryOwn: true
  ]

  Function [ other: other
    ^self fromPointer: (LorisNI lorisNI_new_Marker__SWIG_2: (Marker getCPtr: other)) memoryOwn: true
  ]

  Method [ name 
	^(LorisNI lorisNI_Marker_name: swigCPtrForMarker ) asNullTermString
  ]

  Method [ time 
    ^LorisNI lorisNI_Marker_time: swigCPtrForMarker 
  ]

  Method [ setName: s 
    LorisNI lorisNI_Marker_setName: swigCPtrForMarker with: s asNullTermStringParameter
  ]

  Method [ setTime: t 
    LorisNI lorisNI_Marker_setTime: swigCPtrForMarker with: t
  ]

}
