GAMSlinks  0.4
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
SmagJournal Class Reference

A particular Journal implementation that uses the SMAG routines for output. More...

#include <SmagJournal.hpp>

Inheritance diagram for SmagJournal:
Inheritance graph
[legend]
Collaboration diagram for SmagJournal:
Collaboration graph
[legend]

Public Member Functions

 SmagJournal (smagHandle_t smag_, const char *name, EJournalLevel default_level, EJournalLevel status_level_=J_SUMMARY)
 Constructor. More...
 
 ~SmagJournal ()
 Destructor. More...
 

Protected Member Functions

virtual void PrintImpl (EJournalCategory category, EJournalLevel level, const char *str)
 
virtual void PrintfImpl (EJournalCategory category, EJournalLevel level, const char *pformat, va_list ap)
 
virtual void FlushBufferImpl ()
 

Private Member Functions

Default Compiler Generated Methods

(Hidden to avoid implicit creation/calling).

These methods are not implemented and we do not want the compiler to implement them for us, so we declare them private and do not define them. This ensures that they will not be implicitly created/called.

 SmagJournal ()
 
 SmagJournal (const SmagJournal &)
 
void operator= (const SmagJournal &)
 

Private Attributes

smagHandle_t smag
 
EJournalLevel status_level
 

Detailed Description

A particular Journal implementation that uses the SMAG routines for output.

Definition at line 31 of file SmagJournal.hpp.

Constructor & Destructor Documentation

SmagJournal::SmagJournal ( smagHandle_t  smag_,
const char *  name,
EJournalLevel  default_level,
EJournalLevel  status_level_ = J_SUMMARY 
)
inline

Constructor.

Parameters
smag_A pointer to the SMAG structure.
nameThe name of this journal.
default_levelThe default print level for this journal.
status_level_Maximum level where we still write to status file.

Definition at line 39 of file SmagJournal.hpp.

SmagJournal::~SmagJournal ( )
inline

Destructor.

Definition at line 45 of file SmagJournal.hpp.

SmagJournal::SmagJournal ( )
private
SmagJournal::SmagJournal ( const SmagJournal )
private

Member Function Documentation

virtual void SmagJournal::PrintImpl ( EJournalCategory  category,
EJournalLevel  level,
const char *  str 
)
inlineprotectedvirtual

Definition at line 48 of file SmagJournal.hpp.

virtual void SmagJournal::PrintfImpl ( EJournalCategory  category,
EJournalLevel  level,
const char *  pformat,
va_list  ap 
)
protectedvirtual
virtual void SmagJournal::FlushBufferImpl ( )
inlineprotectedvirtual

Definition at line 54 of file SmagJournal.hpp.

void SmagJournal::operator= ( const SmagJournal )
private

Member Data Documentation

smagHandle_t SmagJournal::smag
private

Definition at line 59 of file SmagJournal.hpp.

EJournalLevel SmagJournal::status_level
private

Definition at line 60 of file SmagJournal.hpp.


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