Skip to content

File object_template.h

FileList > cubrid > src > object > object_template.h

Go to the source code of this file

  • #include <stdarg.h>
  • #include "area_alloc.h"
  • #include "class_object.h"

Classes

Type Name
struct obj_tempassign
struct obj_template

Public Types

Type Name
typedef struct obj_tempassign OBJ_TEMPASSIGN
typedef struct obj_template OBJ_TEMPLATE
typedef struct obj_template * OBT

Public Attributes

Type Name
bool obt_Check_uniques
bool obt_Enable_autoincrement
bool obt_Last_insert_id_generated

Public Functions

Type Name
void obt_area_final (void)
int obt_area_init (void)
int obt_assign (OBJ_TEMPLATE * template_ptr, SM_ATTRIBUTE * att, int base_assignment, DB_VALUE * value, SM_VALIDATION * valid)
void obt_begin_insert_values (void)
DB_VALUE * obt_check_assignment (SM_ATTRIBUTE * att, DB_VALUE * proposed_value, SM_VALIDATION * valid, unsigned force_check_not_null)
int obt_check_missing_assignments (OBJ_TEMPLATE * template_ptr)
OBJ_TEMPLATE * obt_def_object (MOP class_)
int obt_desc_set (OBJ_TEMPLATE * template_ptr, SM_DESCRIPTOR * desc, DB_VALUE * value)
void obt_disable_serializable_conflict_checking (OBJ_TEMPLATE * template_ptr)
void obt_disable_unique_checking (OBJ_TEMPLATE * template_ptr)
OBJ_TEMPLATE * obt_edit_object (MOP object)
bool obt_enable_unique_checking (bool new_state)
int obt_find_attribute (OBJ_TEMPLATE * template_ptr, int use_base_class, const char * name, SM_ATTRIBUTE ** attp)
int obt_populate_known_arguments (OBJ_TEMPLATE * template_ptr)
int obt_quit (OBJ_TEMPLATE * template_ptr)
void obt_reset_force_flush (OBJ_TEMPLATE * template_ptr)
void obt_retain_after_finish (OBJ_TEMPLATE * template_ptr)
int obt_set (OBJ_TEMPLATE * template_ptr, const char * attname, DB_VALUE * value)
void obt_set_force_flush (OBJ_TEMPLATE * template_ptr)
void obt_set_label (OBJ_TEMPLATE * template_ptr, DB_VALUE * label)
int obt_set_obt (OBJ_TEMPLATE * template_ptr, const char * attname, OBJ_TEMPLATE * value)
int obt_update (OBJ_TEMPLATE * template_ptr, MOP * newobj)
int obt_update_internal (OBJ_TEMPLATE * template_ptr, MOP * newobj, int check_non_null)

Macros

Type Name
define OBT_BASE_CLASS (template_ptr) /* multi line expression */
define OBT_BASE_CLASSOBJ (template_ptr) /* multi line expression */
define OBT_BASE_OBJECT (template_ptr) /* multi line expression */

Public Types Documentation

typedef OBJ_TEMPASSIGN

typedef struct obj_tempassign OBJ_TEMPASSIGN;

typedef OBJ_TEMPLATE

typedef struct obj_template OBJ_TEMPLATE;

typedef OBT

typedef struct obj_template * OBT;

Public Attributes Documentation

variable obt_Check_uniques

bool obt_Check_uniques;

variable obt_Enable_autoincrement

bool obt_Enable_autoincrement;

variable obt_Last_insert_id_generated

bool obt_Last_insert_id_generated;

Public Functions Documentation

function obt_area_final

void obt_area_final (
    void
) 

function obt_area_init

int obt_area_init (
    void
) 

function obt_assign

int obt_assign (
    OBJ_TEMPLATE * template_ptr,
    SM_ATTRIBUTE * att,
    int base_assignment,
    DB_VALUE * value,
    SM_VALIDATION * valid
) 

function obt_begin_insert_values

void obt_begin_insert_values (
    void
) 

function obt_check_assignment

DB_VALUE * obt_check_assignment (
    SM_ATTRIBUTE * att,
    DB_VALUE * proposed_value,
    SM_VALIDATION * valid,
    unsigned force_check_not_null
) 

function obt_check_missing_assignments

int obt_check_missing_assignments (
    OBJ_TEMPLATE * template_ptr
) 

function obt_def_object

OBJ_TEMPLATE * obt_def_object (
    MOP class_
) 

function obt_desc_set

int obt_desc_set (
    OBJ_TEMPLATE * template_ptr,
    SM_DESCRIPTOR * desc,
    DB_VALUE * value
) 

function obt_disable_serializable_conflict_checking

void obt_disable_serializable_conflict_checking (
    OBJ_TEMPLATE * template_ptr
) 

function obt_disable_unique_checking

void obt_disable_unique_checking (
    OBJ_TEMPLATE * template_ptr
) 

function obt_edit_object

OBJ_TEMPLATE * obt_edit_object (
    MOP object
) 

function obt_enable_unique_checking

bool obt_enable_unique_checking (
    bool new_state
) 

function obt_find_attribute

int obt_find_attribute (
    OBJ_TEMPLATE * template_ptr,
    int use_base_class,
    const  char * name,
    SM_ATTRIBUTE ** attp
) 

function obt_populate_known_arguments

int obt_populate_known_arguments (
    OBJ_TEMPLATE * template_ptr
) 

function obt_quit

int obt_quit (
    OBJ_TEMPLATE * template_ptr
) 

function obt_reset_force_flush

void obt_reset_force_flush (
    OBJ_TEMPLATE * template_ptr
) 

function obt_retain_after_finish

void obt_retain_after_finish (
    OBJ_TEMPLATE * template_ptr
) 

function obt_set

int obt_set (
    OBJ_TEMPLATE * template_ptr,
    const  char * attname,
    DB_VALUE * value
) 

function obt_set_force_flush

void obt_set_force_flush (
    OBJ_TEMPLATE * template_ptr
) 

function obt_set_label

void obt_set_label (
    OBJ_TEMPLATE * template_ptr,
    DB_VALUE * label
) 

function obt_set_obt

int obt_set_obt (
    OBJ_TEMPLATE * template_ptr,
    const  char * attname,
    OBJ_TEMPLATE * value
) 

function obt_update

int obt_update (
    OBJ_TEMPLATE * template_ptr,
    MOP * newobj
) 

function obt_update_internal

int obt_update_internal (
    OBJ_TEMPLATE * template_ptr,
    MOP * newobj,
    int check_non_null
) 

Macro Definition Documentation

define OBT_BASE_CLASS

#define OBT_BASE_CLASS (
    template_ptr
) `/* multi line expression */`

define OBT_BASE_CLASSOBJ

#define OBT_BASE_CLASSOBJ (
    template_ptr
) `/* multi line expression */`

define OBT_BASE_OBJECT

#define OBT_BASE_OBJECT (
    template_ptr
) `/* multi line expression */`


The documentation for this class was generated from the following file cubrid/src/object/object_template.h