/** @file */
/***********************************************

 !!!! DO NOT EDIT THIS FILE !!!!

 All content has been auto-generated by 
 the boilerplater.pl utility.

 See boilerplater's documentation for details.

 ***********************************************/



#ifndef R_KINO_SCOREPROX
#define R_KINO_SCOREPROX 1

#include "KinoSearch/Search/ScoreProx.h"

#define KINO_SCOREPROX_BOILERPLATE



#define Kino_ScoreProx_Clone(self) \
    (self)->_->clone((kino_Obj*)self)

#define Kino_ScoreProx_Destroy(self) \
    (self)->_->destroy((kino_Obj*)self)

#define Kino_ScoreProx_Equals(self, other) \
    (self)->_->equals((kino_Obj*)self, other)

#define Kino_ScoreProx_Hash_Code(self) \
    (self)->_->hash_code((kino_Obj*)self)

#define Kino_ScoreProx_Is_A(self, target_vtable) \
    (self)->_->is_a((kino_Obj*)self, target_vtable)

#define Kino_ScoreProx_To_String(self) \
    (self)->_->to_string((kino_Obj*)self)

#define Kino_ScoreProx_Serialize(self, target) \
    (self)->_->serialize((kino_Obj*)self, target)

struct KINO_SCOREPROX_VTABLE {
    KINO_OBJ_VTABLE *_;
    chy_u32_t refcount;
    KINO_OBJ_VTABLE *parent;
    const char *class_name;
    kino_Obj_clone_t clone;
    kino_Obj_destroy_t destroy;
    kino_Obj_equals_t equals;
    kino_Obj_hash_code_t hash_code;
    kino_Obj_is_a_t is_a;
    kino_Obj_to_string_t to_string;
    kino_Obj_serialize_t serialize;
};

extern KINO_SCOREPROX_VTABLE KINO_SCOREPROX;

#ifdef KINO_USE_SHORT_NAMES
  #define ScoreProx kino_ScoreProx
  #define SCOREPROX KINO_SCOREPROX
  #define ScoreProx_new kino_ScoreProx_new
  #define ScoreProx_Clone Kino_ScoreProx_Clone
  #define ScoreProx_Destroy Kino_ScoreProx_Destroy
  #define ScoreProx_Equals Kino_ScoreProx_Equals
  #define ScoreProx_Hash_Code Kino_ScoreProx_Hash_Code
  #define ScoreProx_Is_A Kino_ScoreProx_Is_A
  #define ScoreProx_To_String Kino_ScoreProx_To_String
  #define ScoreProx_Serialize Kino_ScoreProx_Serialize
#endif /* KINO_USE_SHORT_NAMES */

#define KINO_SCOREPROX_MEMBER_VARS \
    chy_u32_t  refcount; \
    chy_i32_t  field_num; \
    chy_u32_t  num_prox; \
    chy_u32_t * prox

#ifdef KINO_WANT_SCOREPROX_VTABLE
KINO_SCOREPROX_VTABLE KINO_SCOREPROX = {
    (KINO_OBJ_VTABLE*)&KINO_VIRTUALTABLE,
    1,
    (KINO_OBJ_VTABLE*)&KINO_OBJ,
    "KinoSearch::Search::ScoreProx",
    (kino_Obj_clone_t)kino_Obj_clone,
    (kino_Obj_destroy_t)kino_Obj_destroy,
    (kino_Obj_equals_t)kino_Obj_equals,
    (kino_Obj_hash_code_t)kino_Obj_hash_code,
    (kino_Obj_is_a_t)kino_Obj_is_a,
    (kino_Obj_to_string_t)kino_Obj_to_string,
    (kino_Obj_serialize_t)kino_Obj_serialize
};
#endif /* KINO_WANT_SCOREPROX_VTABLE */

#undef KINO_SCOREPROX_BOILERPLATE


#endif /* R_KINO_SCOREPROX */


/* Copyright 2007 Marvin Humphrey
 *
 * This program is free software; you can redistribute it and/or modify
 * under the same terms as Perl itself.
 */