SmagJournal Class Reference

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

#include <SmagJournal.hpp>

List of all members.

Public Member Functions

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

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.
name The name of this journal.
default_level The 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 
) [inline, protected, virtual]

Definition at line 48 of file SmagJournal.hpp.

References smag, and status_level.

virtual void SmagJournal::PrintfImpl ( EJournalCategory  category,
EJournalLevel  level,
const char *  pformat,
va_list  ap 
) [protected, virtual]

virtual void SmagJournal::FlushBufferImpl (  )  [inline, protected, virtual]

Definition at line 54 of file SmagJournal.hpp.

References smag.

void SmagJournal::operator= ( const SmagJournal  )  [private]


Member Data Documentation

smagHandle_t SmagJournal::smag [private]

Definition at line 59 of file SmagJournal.hpp.

Referenced by FlushBufferImpl(), and PrintImpl().

EJournalLevel SmagJournal::status_level [private]

Definition at line 60 of file SmagJournal.hpp.

Referenced by PrintImpl().


The documentation for this class was generated from the following file:
Generated on Tue Dec 30 03:01:29 2008 for GAMSlinks by  doxygen 1.4.7