FEI Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
fei::Logger Class Reference

#include <fei_Logger.hpp>

Inheritance diagram for fei::Logger:
Inheritance graph
[legend]

Public Member Functions

 Logger ()
 
virtual ~Logger ()
 
void setOutputLevel (OutputLevel olevel)
 
void addLogID (int ID)
 
void addLogEqn (int eqn)
 
bool isLogID (int ID)
 
bool isLogEqn (int eqn)
 
std::set< int > & getLogIDs ()
 
std::set< int > & getLogEqns ()
 

Protected Attributes

OutputLevel output_level_
 
FEI_OSTREAMoutput_stream_
 
std::set< int > logIDs_
 
std::set< int > logEqns_
 

Private Member Functions

 Logger (const Logger &src)
 
Loggeroperator= (const Logger &src)
 

Detailed Description

Class to be inherited by fei classes that wish to write to the fei debug-log file.

Definition at line 19 of file fei_Logger.hpp.

Constructor & Destructor Documentation

fei::Logger::Logger ( )

constructor

Definition at line 13 of file fei_Logger.cpp.

References fei::LogFile::getLogFile(), fei::LogFile::getOutputStream(), and output_stream_.

fei::Logger::~Logger ( )
virtual

destructor

Definition at line 23 of file fei_Logger.cpp.

fei::Logger::Logger ( const Logger src)
private

Member Function Documentation

void fei::Logger::setOutputLevel ( OutputLevel  olevel)

set specified output-level.

Definition at line 27 of file fei_Logger.cpp.

References fei::LogFile::getLogFile(), and fei::LogFile::getOutputStream().

void fei::Logger::addLogID ( int  ID)

Definition at line 34 of file fei_Logger.cpp.

void fei::Logger::addLogEqn ( int  eqn)

Definition at line 39 of file fei_Logger.cpp.

bool fei::Logger::isLogID ( int  ID)

Definition at line 44 of file fei_Logger.cpp.

bool fei::Logger::isLogEqn ( int  eqn)

Definition at line 49 of file fei_Logger.cpp.

std::set< int > & fei::Logger::getLogIDs ( )

Definition at line 54 of file fei_Logger.cpp.

std::set< int > & fei::Logger::getLogEqns ( )

Definition at line 59 of file fei_Logger.cpp.

Logger& fei::Logger::operator= ( const Logger src)
private

Member Data Documentation

OutputLevel fei::Logger::output_level_
protected
FEI_OSTREAM* fei::Logger::output_stream_
protected
std::set<int> fei::Logger::logIDs_
protected

Definition at line 46 of file fei_Logger.hpp.

std::set<int> fei::Logger::logEqns_
protected

Definition at line 47 of file fei_Logger.hpp.


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