CUBRID Engine  latest
cubbase::fileline_location Struct Reference

#include <fileline_location.hpp>

Collaboration diagram for cubbase::fileline_location:
Collaboration graph

Public Member Functions

 fileline_location (const char *fn_arg="", int l_arg=0)
 
void set (const char *fn_arg, int l_arg)
 

Static Public Member Functions

static const char * print_format (void)
 

Public Attributes

char m_file [MAX_FILENAME_SIZE]
 
int m_line
 

Static Public Attributes

static const std::size_t MAX_FILENAME_SIZE = 20
 

Detailed Description

Definition at line 34 of file fileline_location.hpp.

Constructor & Destructor Documentation

cubbase::fileline_location::fileline_location ( const char *  fn_arg = "",
int  l_arg = 0 
)

Definition at line 31 of file fileline_location.cpp.

References m_line.

Member Function Documentation

static const char* cubbase::fileline_location::print_format ( void  )
inlinestatic

Definition at line 40 of file fileline_location.hpp.

void cubbase::fileline_location::set ( const char *  fn_arg,
int  l_arg 
)

Definition at line 39 of file fileline_location.cpp.

References m_file, m_line, strlen, and strncpy_bufsize.

Member Data Documentation

char cubbase::fileline_location::m_file[MAX_FILENAME_SIZE]

Definition at line 47 of file fileline_location.hpp.

Referenced by cubbase::operator<<(), and set().

int cubbase::fileline_location::m_line

Definition at line 48 of file fileline_location.hpp.

Referenced by fileline_location(), cubbase::operator<<(), and set().

const std::size_t cubbase::fileline_location::MAX_FILENAME_SIZE = 20
static

Definition at line 38 of file fileline_location.hpp.


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