PUMA Library Reference Manual
Puma::PreMacroManager Class Reference

#include <PreMacroManager.h>

Public Member Functions

 PreMacroManager (ErrorStream *err)
 
 ~PreMacroManager ()
 
void init (const char *filename)
 
void addMacro (PreMacro *macro)
 
void removeMacro (const DString &name, const Location &location=Location())
 
PreMacrogetMacro (const DString &name) const
 
PreMacrogetLineMacro () const
 
PreMacrogetDateMacro () const
 
PreMacrogetTimeMacro () const
 
PreMacrogetIncLevelMacro () const
 
PreMacrogetFileMacro () const
 
PreMacrogetBaseFileMacro () const
 

Constructor & Destructor Documentation

◆ PreMacroManager()

Puma::PreMacroManager::PreMacroManager ( ErrorStream err)
inline

◆ ~PreMacroManager()

Puma::PreMacroManager::~PreMacroManager ( )
inline

Member Function Documentation

◆ addMacro()

void Puma::PreMacroManager::addMacro ( PreMacro macro)

◆ getBaseFileMacro()

PreMacro* Puma::PreMacroManager::getBaseFileMacro ( ) const
inline

◆ getDateMacro()

PreMacro* Puma::PreMacroManager::getDateMacro ( ) const
inline

◆ getFileMacro()

PreMacro* Puma::PreMacroManager::getFileMacro ( ) const
inline

◆ getIncLevelMacro()

PreMacro* Puma::PreMacroManager::getIncLevelMacro ( ) const
inline

◆ getLineMacro()

PreMacro* Puma::PreMacroManager::getLineMacro ( ) const
inline

◆ getMacro()

PreMacro* Puma::PreMacroManager::getMacro ( const DString name) const

◆ getTimeMacro()

PreMacro* Puma::PreMacroManager::getTimeMacro ( ) const
inline

◆ init()

void Puma::PreMacroManager::init ( const char *  filename)

◆ removeMacro()

void Puma::PreMacroManager::removeMacro ( const DString name,
const Location location = Location() 
)