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

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

  Method [ getCPtrForMarkerVector
    ^swigCPtrForMarkerVector
  ]


  Function [ new
    self noDefaultConstructorError
  ]

  Method[ swigFinalize
    super swigFinalize.
    self delete.
  ]

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

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

  Method [ size 
    ^LorisNI lorisNI_MarkerVector_size: swigCPtrForMarkerVector 
  ]

  Method [ clear 
    LorisNI lorisNI_MarkerVector_clear: swigCPtrForMarkerVector 
  ]

  Method [ pop_back 
    LorisNI lorisNI_MarkerVector_pop_back: swigCPtrForMarkerVector 
  ]

  Method [ resize: new_size 
    LorisNI lorisNI_MarkerVector_resize__SWIG_0: swigCPtrForMarkerVector with: new_size
  ]

  Function [ size: size value: value
    ^self fromPointer: (LorisNI lorisNI_new_MarkerVector: size, (Marker getCPtr: value)) memoryOwn: true
  ]

  Method [ push_back: x 
    LorisNI lorisNI_MarkerVector_push_back: swigCPtrForMarkerVector with: (Marker getCPtr: x)
  ]

  Method [ front 
    ^Marker fromPointer: LorisNI lorisNI_MarkerVector_front: swigCPtrForMarkerVector  memoryOwn: false
  ]

  Method [ back 
    ^Marker fromPointer: LorisNI lorisNI_MarkerVector_back: swigCPtrForMarkerVector  memoryOwn: false
  ]

  Method [ assign: n x: x 
    LorisNI lorisNI_MarkerVector_assign: swigCPtrForMarkerVector with: n with: (Marker getCPtr: x)
  ]

  Method [ resize: new_size x: x 
    LorisNI lorisNI_MarkerVector_resize__SWIG_1: swigCPtrForMarkerVector with: new_size with: (Marker getCPtr: x)
  ]

  Method [ reserve: n 
    LorisNI lorisNI_MarkerVector_reserve: swigCPtrForMarkerVector with: n
  ]

  Method [ capacity 
    ^LorisNI lorisNI_MarkerVector_capacity: swigCPtrForMarkerVector 
  ]

}
