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_LogFile.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_LogFile_hpp_
10
#define _fei_LogFile_hpp_
11
12
#include "
fei_iosfwd.hpp
"
13
14
namespace
fei {
15
19
class
LogFile
{
20
public
:
22
virtual
~LogFile
();
23
35
void
openOutputStream
(
const
char
* path=NULL,
36
int
nprocs=1,
37
int
localproc=0);
38
40
FEI_OSTREAM
*
getOutputStream
();
41
44
void
closeOutputStream
();
45
50
static
LogFile
&
getLogFile
();
51
52
private
:
54
LogFile
();
55
56
FEI_OSTREAM
*
output_stream_
;
57
unsigned
counter_
;
58
};
//class LogFile
59
}
//namespace fei
60
#endif
fei::LogFile::openOutputStream
void openOutputStream(const char *path=NULL, int nprocs=1, int localproc=0)
Definition:
fei_LogFile.cpp:27
fei::LogFile
Definition:
fei_LogFile.hpp:19
fei::LogFile::getOutputStream
FEI_OSTREAM * getOutputStream()
Definition:
fei_LogFile.cpp:57
fei::LogFile::~LogFile
virtual ~LogFile()
Definition:
fei_LogFile.cpp:21
fei::LogFile::counter_
unsigned counter_
Definition:
fei_LogFile.hpp:57
fei_iosfwd.hpp
FEI_OSTREAM
#define FEI_OSTREAM
Definition:
fei_iosfwd.hpp:24
fei::LogFile::closeOutputStream
void closeOutputStream()
Definition:
fei_LogFile.cpp:62
fei::LogFile::output_stream_
FEI_OSTREAM * output_stream_
Definition:
fei_LogFile.hpp:56
fei::LogFile::getLogFile
static LogFile & getLogFile()
Definition:
fei_LogFile.cpp:68
fei::LogFile::LogFile
LogFile()
Definition:
fei_LogFile.cpp:15
Generated by
1.8.5