CUBRID Engine  latest
object_print.h File Reference
#include "dbtype_def.h"
#include <stdio.h>
Include dependency graph for object_print.h:

Go to the source code of this file.

Functions

int help_trigger_names (char ***names_ptr)
 
void help_free_names (char **names)
 
void help_print_obj (print_output &output_ctx, MOP obj)
 
char ** help_class_names (const char *qualifier)
 
void help_free_class_names (char **names)
 
void help_print_info (const char *command, FILE *fpp)
 
int help_describe_mop (DB_OBJECT *obj, char *buffer, int maxlen)
 
void help_print_describe_comment (print_output &output_ctx, const char *comment)
 

Function Documentation

int help_describe_mop ( DB_OBJECT obj,
char *  buffer,
int  maxlen 
)

Definition at line 498 of file object_print.c.

References au_fetch_class(), AU_FETCH_READ, AU_SELECT, DB_FETCH_READ, locator_is_class(), NO_ERROR, NULL, sm_ch_name(), strlen, and WS_OID.

Referenced by db_print_mop().

Here is the caller graph for this function:

void help_free_class_names ( char **  names)

Definition at line 451 of file object_print.c.

References help_free_names().

Referenced by help_fprint_class_names().

Here is the caller graph for this function:

void help_free_names ( char **  names)

Definition at line 431 of file object_print.c.

References object_print::free_strarray(), and NULL.

Referenced by csql_help_trigger(), help_free_class_names(), and help_print_info().

Here is the caller graph for this function:

void help_print_describe_comment ( print_output output_ctx,
const char *  comment 
)
void help_print_obj ( print_output output_ctx,
MOP  obj 
)

Definition at line 141 of file object_print.c.

References trigger_description::action, trigger_description::action_time, trigger_description::attribute, object_description::attributes, class_description::attributes, class_description::class_attributes, class_description::class_methods, trigger_description::class_name, class_description::class_type, object_description::classname, trigger_description::comment, trigger_description::condition, trigger_description::condition_time, class_description::CSQL_SCHEMA_COMMAND, DB_FETCH_READ, trigger_description::event, help_print_describe_comment(), i, object_description::init(), trigger_description::init(), class_description::init(), locator_is_class(), locator_is_root(), class_description::method_files, class_description::methods, MSGCAT_CATALOG_CUBRID, MSGCAT_HELP_ATTRIBUTES, MSGCAT_HELP_CLASS_ATTRIBUTES, MSGCAT_HELP_CLASS_METHODS, MSGCAT_HELP_CLASS_TITLE, MSGCAT_HELP_METHOD_FILES, MSGCAT_HELP_METHODS, MSGCAT_HELP_OBJECT_TITLE, MSGCAT_HELP_QUERY_SPEC, MSGCAT_HELP_RESOLUTIONS, MSGCAT_HELP_ROOTCLASS_TITLE, MSGCAT_HELP_SUB_CLASSES, MSGCAT_HELP_SUPER_CLASSES, msgcat_message(), MSGCAT_SET_HELP, trigger_description::name, class_description::name, NO_ERROR, NULL, trigger_description::priority, class_description::query_spec, class_description::resolutions, object_description::shared, trigger_description::status, class_description::subs, class_description::supers, tr_is_trigger(), and class_description::triggers.

Referenced by db_fprint(), db_print(), and help_print_info().

Here is the caller graph for this function: