Fraxinus  16.5.0-fx-rc7
An IGT application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cx::LogFile Class Reference

#include <cxLogFile.h>

Public Member Functions

 LogFile ()
 
virtual ~LogFile ()
 
void writeHeader ()
 
void write (Message message)
 
bool isWritable () const
 
QString getFilename () const
 
std::vector< MessagereadMessages ()
 

Static Public Member Functions

static LogFile fromChannel (QString path, QString channel)
 
static LogFile fromFilename (QString filename)
 

Detailed Description

Definition at line 46 of file cxLogFile.h.

Constructor & Destructor Documentation

cx::LogFile::LogFile ( )
explicit

Definition at line 46 of file cxLogFile.cpp.

virtual cx::LogFile::~LogFile ( )
inlinevirtual

Definition at line 52 of file cxLogFile.h.

Member Function Documentation

LogFile cx::LogFile::fromChannel ( QString  path,
QString  channel 
)
static

Definition at line 52 of file cxLogFile.cpp.

LogFile cx::LogFile::fromFilename ( QString  filename)
static

Definition at line 65 of file cxLogFile.cpp.

QString cx::LogFile::getFilename ( ) const

Definition at line 60 of file cxLogFile.cpp.

bool cx::LogFile::isWritable ( ) const

Definition at line 88 of file cxLogFile.cpp.

std::vector< Message > cx::LogFile::readMessages ( )

Definition at line 158 of file cxLogFile.cpp.

void cx::LogFile::write ( Message  message)

Definition at line 82 of file cxLogFile.cpp.

void cx::LogFile::writeHeader ( )

Definition at line 73 of file cxLogFile.cpp.


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