CUBRID Engine  latest
print_output Class Referenceabstract

#include <printer.hpp>

Inheritance diagram for print_output:
Inheritance graph
Collaboration diagram for print_output:
Collaboration graph

Public Member Functions

 print_output ()
 
 ~print_output ()
 
virtual int flush (void)=0
 
string_buffergrab_string_buffer (void)
 
void operator+= (const char ch)
 
template<typename... Args>
int operator() (Args &&...args)
 

Protected Attributes

string_buffer m_sb
 

Detailed Description

Definition at line 34 of file printer.hpp.

Constructor & Destructor Documentation

print_output::print_output ( )
inline

Definition at line 40 of file printer.hpp.

print_output::~print_output ( )
inline

Definition at line 42 of file printer.hpp.

References assert, flush(), and string_buffer::len().

Member Function Documentation

virtual int print_output::flush ( void  )
pure virtual
string_buffer* print_output::grab_string_buffer ( void  )
inline

Definition at line 49 of file printer.hpp.

References m_sb, operator()(), and operator+=().

Referenced by db_print_value().

Here is the caller graph for this function:

template<typename... Args>
int print_output::operator() ( Args &&...  args)
inline

Definition at line 60 of file printer.hpp.

References flush(), and m_sb.

Referenced by grab_string_buffer().

Here is the caller graph for this function:

void print_output::operator+= ( const char  ch)

Definition at line 25 of file printer.cpp.

References flush(), and m_sb.

Referenced by grab_string_buffer().

Here is the caller graph for this function:

Member Data Documentation


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