Public Member Functions | Data Fields

SrcLoc Class Reference

#include <Diags.h>

Public Member Functions

bool valid () const
 SrcLoc (const char *_file, const char *_func, int _line)
char * str (char *buf, int buflen) const

Data Fields

const char * file
const char * func
const int line

Detailed Description

Definition at line 105 of file Diags.h.


Constructor & Destructor Documentation

SrcLoc::SrcLoc ( const char *  _file,
const char *  _func,
int  _line 
) [inline]

Definition at line 116 of file Diags.h.


Member Function Documentation

char * SrcLoc::str ( char *  buf,
int  buflen 
) const

Definition at line 68 of file Diags.cc.

References file, func, line, and valid().

Referenced by Diags::print_va().

bool SrcLoc::valid (  )  const [inline]

Definition at line 112 of file Diags.h.

References file, and line.

Referenced by Diags::print_va(), and str().


Field Documentation

const char* SrcLoc::file

Definition at line 108 of file Diags.h.

Referenced by SSLDiagnostic(), str(), and valid().

const char* SrcLoc::func

Definition at line 109 of file Diags.h.

Referenced by SSLDiagnostic(), and str().

const int SrcLoc::line

Definition at line 110 of file Diags.h.

Referenced by SSLDiagnostic(), str(), and valid().


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