CUBRID Engine  latest
load_object.h File Reference
#include "dbtype_def.h"
#include "class_object.h"
#include <vector>
Include dependency graph for load_object.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  desc_obj
 
struct  text_output
 

Macros

#define CHECK_PRINT_ERROR(print_fnc)
 
#define CHECK_EXIT_ERROR(e)
 

Typedefs

typedef struct desc_obj DESC_OBJ
 
typedef struct text_output TEXT_OUTPUT
 

Functions

int text_print_flush (TEXT_OUTPUT *tout)
 
int text_print (TEXT_OUTPUT *tout, const char *buf, int buflen, char const *fmt,...)
 
DESC_OBJmake_desc_obj (SM_CLASS *class_)
 
int desc_obj_to_disk (DESC_OBJ *obj, RECDES *record, bool *index_flag)
 
int desc_disk_to_obj (MOP classop, SM_CLASS *class_, RECDES *record, DESC_OBJ *obj)
 
void desc_free (DESC_OBJ *obj)
 
int desc_value_special_fprint (TEXT_OUTPUT *tout, DB_VALUE *value)
 
void desc_value_print (print_output &output_ctx, DB_VALUE *value)
 
int er_filter_fileset (FILE *ef)
 
int er_filter_errid (bool ignore_warning)
 
void get_ignored_errors (std::vector< int > &vec)
 

Macro Definition Documentation

#define CHECK_EXIT_ERROR (   e)
Value:
do { \
if ((e) == NO_ERROR) { \
if (((e) = er_errid()) == NO_ERROR) \
} \
} while (0)
#define NO_ERROR
Definition: error_code.h:46
int er_errid(void)
#define ER_GENERIC_ERROR
Definition: error_code.h:49
if(extra_options)
Definition: dynamic_load.c:958

Definition at line 38 of file load_object.h.

Referenced by desc_value_special_fprint(), fprint_special_set(), fprint_special_strings(), itoa_print(), print_quoted_str(), process_class(), process_object(), process_set(), process_value(), set_referenced_subclasses(), and text_print().

#define CHECK_PRINT_ERROR (   print_fnc)
Value:
do { \
if ((error = print_fnc) != NO_ERROR) \
goto exit_on_error; \
} while (0)
#define NO_ERROR
Definition: error_code.h:46
if(extra_options)
Definition: dynamic_load.c:958
static void error(const char *msg)
Definition: gencat.c:331

Definition at line 32 of file load_object.h.

Referenced by desc_value_special_fprint(), fprint_special_set(), fprint_special_strings(), print_quoted_str(), process_class(), process_object(), process_set(), process_value(), and text_print().

Typedef Documentation

typedef struct desc_obj DESC_OBJ
typedef struct text_output TEXT_OUTPUT

Function Documentation

void desc_free ( DESC_OBJ obj)

Definition at line 138 of file load_object.c.

References desc_obj::atts, desc_obj::count, free_and_init, i, NULL, pr_clear_value(), and desc_obj::values.

Referenced by process_class().

Here is the caller graph for this function:

int er_filter_fileset ( FILE *  ef)

Definition at line 1680 of file load_object.c.

References default_clear_err_filter(), ER_LAST_ERROR, filter_ignore_errors, filter_ignore_init, i, init_load_err_filter(), NULL, and ws_set_ignore_error_list_for_mflush().

Referenced by loaddb_internal().

Here is the caller graph for this function:

void get_ignored_errors ( std::vector< int > &  vec)

Definition at line 1801 of file load_object.c.

References ER_LAST_ERROR, filter_ignore_errors, and i.

Referenced by loaddb_internal().

Here is the caller graph for this function:

int text_print ( TEXT_OUTPUT tout,
const char *  buf,
int  buflen,
char const fmt,
  ... 
)
int text_print_flush ( TEXT_OUTPUT tout)

Definition at line 442 of file load_object.c.

References text_output::buffer, text_output::count, ER_IO_WRITE, text_output::fp, NO_ERROR, and text_output::ptr.

Referenced by extract_objects(), fprint_special_strings(), and text_print().

Here is the caller graph for this function: