FEI Package Browser (Single Doxygen Collection)
Version of the Day
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
base
fei_Logger.hpp
Go to the documentation of this file.
1
/*--------------------------------------------------------------------*/
2
/* Copyright 2005 Sandia Corporation. */
3
/* Under the terms of Contract DE-AC04-94AL85000, there is a */
4
/* non-exclusive license for use of this work by or on behalf */
5
/* of the U.S. Government. Export of this program may require */
6
/* a license from the United States Government. */
7
/*--------------------------------------------------------------------*/
8
9
#ifndef _fei_Logger_hpp_
10
#define _fei_Logger_hpp_
11
12
#include <
fei_fwd.hpp
>
13
#include <
fei_iosfwd.hpp
>
14
#include <set>
15
16
namespace
fei {
19
class
Logger
{
20
public
:
22
Logger
();
24
virtual
~Logger
();
25
27
void
setOutputLevel
(
OutputLevel
olevel);
28
29
void
addLogID
(
int
ID);
30
void
addLogEqn
(
int
eqn);
31
32
bool
isLogID
(
int
ID);
33
bool
isLogEqn
(
int
eqn);
34
35
std::set<int>&
getLogIDs
();
36
std::set<int>&
getLogEqns
();
37
38
protected
:
42
OutputLevel
output_level_
;
44
FEI_OSTREAM
*
output_stream_
;
45
46
std::set<int>
logIDs_
;
47
std::set<int>
logEqns_
;
48
49
private
:
50
Logger
(
const
Logger
& src);
51
Logger
&
operator=
(
const
Logger
& src);
52
};
//class Logger
53
}
//namespace fei
54
#endif
55
fei::Logger::isLogEqn
bool isLogEqn(int eqn)
Definition:
fei_Logger.cpp:49
fei::Logger::Logger
Logger()
Definition:
fei_Logger.cpp:13
fei::Logger::addLogID
void addLogID(int ID)
Definition:
fei_Logger.cpp:34
fei::Logger
Definition:
fei_Logger.hpp:19
fei::Logger::getLogIDs
std::set< int > & getLogIDs()
Definition:
fei_Logger.cpp:54
fei::Logger::operator=
Logger & operator=(const Logger &src)
fei::Logger::getLogEqns
std::set< int > & getLogEqns()
Definition:
fei_Logger.cpp:59
fei_iosfwd.hpp
fei::Logger::logIDs_
std::set< int > logIDs_
Definition:
fei_Logger.hpp:46
FEI_OSTREAM
#define FEI_OSTREAM
Definition:
fei_iosfwd.hpp:24
fei::Logger::setOutputLevel
void setOutputLevel(OutputLevel olevel)
Definition:
fei_Logger.cpp:27
fei::OutputLevel
OutputLevel
Definition:
fei_fwd.hpp:81
fei::Logger::addLogEqn
void addLogEqn(int eqn)
Definition:
fei_Logger.cpp:39
fei::Logger::output_level_
OutputLevel output_level_
Definition:
fei_Logger.hpp:42
fei::Logger::isLogID
bool isLogID(int ID)
Definition:
fei_Logger.cpp:44
fei::Logger::logEqns_
std::set< int > logEqns_
Definition:
fei_Logger.hpp:47
fei_fwd.hpp
fei::Logger::output_stream_
FEI_OSTREAM * output_stream_
Definition:
fei_Logger.hpp:44
fei::Logger::~Logger
virtual ~Logger()
Definition:
fei_Logger.cpp:23
Generated by
1.8.5