CUBRID Engine  latest
object_printer Class Reference

#include <object_printer.hpp>

Collaboration diagram for object_printer:
Collaboration graph

Public Member Functions

 object_printer (string_buffer &buf)
 
void describe_comment (const char *comment)
 
void describe_partition_parts (const sm_partition &parts, class_description::type prt_type)
 
void describe_identifier (const char *identifier, class_description::type prt_type)
 
void describe_domain (tp_domain &domain, class_description::type prt_type, bool force_print_collation)
 
void describe_argument (const sm_method_argument &argument, class_description::type prt_type)
 
void describe_method (const struct db_object &op, const sm_method &method_p, class_description::type prt_type)
 
void describe_signature (const sm_method_signature &signature_p, class_description::type prt_type)
 
void describe_attribute (const struct db_object &class_p, const sm_attribute &attribute_p, bool is_inherited, class_description::type prt_type, bool force_print_collation)
 
void describe_constraint (const sm_class &class_p, const sm_class_constraint &constraint_p, class_description::type prt_type)
 
void describe_resolution (const sm_resolution &resolution, class_description::type prt_type)
 
void describe_method_file (const struct db_object &obj, const sm_method_file &file)
 
void describe_class_trigger (const tr_trigger &trigger)
 
void describe_class (struct db_object *class_op)
 
void describe_partition_info (const sm_partition &partinfo)
 

Static Public Member Functions

static const char * describe_trigger_condition_time (const tr_trigger &trigger)
 
static const char * describe_trigger_action_time (const tr_trigger &trigger)
 

Private Attributes

string_bufferm_buf
 

Detailed Description

Definition at line 52 of file object_printer.hpp.

Constructor & Destructor Documentation

object_printer::object_printer ( string_buffer buf)
inline

Definition at line 57 of file object_printer.hpp.

Member Function Documentation

void object_printer::describe_argument ( const sm_method_argument argument,
class_description::type  prt_type 
)

Definition at line 334 of file object_printer.cpp.

References describe_domain(), sm_method_argument::domain, m_buf, pr_type::name, NULL, and sm_method_argument::type.

Referenced by describe_method(), and describe_signature().

Here is the caller graph for this function:

void object_printer::describe_comment ( const char *  comment)
void object_printer::describe_domain ( tp_domain domain,
class_description::type  prt_type,
bool  force_print_collation 
)
void object_printer::describe_identifier ( const char *  identifier,
class_description::type  prt_type 
)

Definition at line 142 of file object_printer.cpp.

References class_description::CSQL_SCHEMA_COMMAND, and m_buf.

Referenced by describe_attribute(), describe_constraint(), describe_domain(), describe_method(), describe_partition_parts(), and describe_resolution().

Here is the caller graph for this function:

void object_printer::describe_method ( const struct db_object op,
const sm_method method_p,
class_description::type  prt_type 
)
void object_printer::describe_method_file ( const struct db_object obj,
const sm_method_file file 
)

Definition at line 865 of file object_printer.cpp.

References sm_method_file::class_mop, m_buf, sm_method_file::name, NULL, and sm_get_ch_name().

Referenced by class_description::init().

Here is the caller graph for this function:

void object_printer::describe_partition_info ( const sm_partition partinfo)
void object_printer::describe_resolution ( const sm_resolution resolution,
class_description::type  prt_type 
)
void object_printer::describe_signature ( const sm_method_signature signature_p,
class_description::type  prt_type 
)

Definition at line 412 of file object_printer.cpp.

References sm_method_signature::args, describe_argument(), i, sm_method_argument::index, m_buf, sm_method_argument::next, NULL, and sm_method_signature::num_args.

Referenced by describe_method().

Here is the caller graph for this function:

const char * object_printer::describe_trigger_action_time ( const tr_trigger trigger)
static

Definition at line 929 of file object_printer.cpp.

References tr_trigger::action, NULL, tr_activity::time, tr_time_as_string(), and TR_TIME_NULL.

Referenced by trigger_description::init().

Here is the caller graph for this function:

const char * object_printer::describe_trigger_condition_time ( const tr_trigger trigger)
static

Definition at line 907 of file object_printer.cpp.

References tr_trigger::action, tr_trigger::condition, NULL, tr_activity::time, tr_time_as_string(), and TR_TIME_NULL.

Referenced by describe_class_trigger(), and trigger_description::init().

Here is the caller graph for this function:

Member Data Documentation


The documentation for this class was generated from the following files: