PhasicFlow
v0.1
www.cemf.ir
oFstream.hpp
Go to the documentation of this file.
1
/*------------------------------- phasicFlow ---------------------------------
2
O C enter of
3
O O E ngineering and
4
O O M ultiscale modeling of
5
OOOOOOO F luid flow
6
------------------------------------------------------------------------------
7
Copyright (C): www.cemf.ir
8
email: hamid.r.norouzi AT gmail.com
9
------------------------------------------------------------------------------
10
Licence:
11
This file is part of phasicFlow code. It is a free software for simulating
12
granular and multiphase flows. You can redistribute it and/or modify it under
13
the terms of GNU General Public License v3 or any other later versions.
14
15
phasicFlow is distributed to help others in their research in the field of
16
granular and multiphase flows, but WITHOUT ANY WARRANTY; without even the
17
implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
18
19
-----------------------------------------------------------------------------*/
20
// based on OpenFOAM stream, with some modifications/simplifications
21
// to be tailored to our needs
22
23
24
#ifndef __oFstream_hpp__
25
#define __oFstream_hpp__
26
27
28
#include "
fileSystem.hpp
"
29
#include "
fileStream.hpp
"
30
#include "
Ostream.hpp
"
31
32
namespace
pFlow
33
{
34
35
36
class
oFstream
37
:
38
public
fileStream
,
39
public
Ostream
40
{
41
public
:
42
43
// Constructor
44
oFstream
(
const
fileSystem
& path);
45
46
// no copy constructor
47
oFstream
(
const
oFstream
& src) =
delete
;
48
49
// no assignment
50
oFstream
&
operator =
(
const
oFstream
& rhs) =
delete
;
51
52
// Destructor
53
virtual
~oFstream
() =
default
;
54
55
};
56
57
}
58
59
60
#endif
Ostream.hpp
pFlow::oFstream::oFstream
oFstream(const fileSystem &path)
Definition:
oFstream.cpp:27
fileSystem.hpp
pFlow
Definition:
demComponent.hpp:28
pFlow::fileSystem
Definition:
fileSystem.hpp:63
pFlow::fileStream
Definition:
fileStream.hpp:36
pFlow::oFstream
Definition:
oFstream.hpp:36
pFlow::oFstream::~oFstream
virtual ~oFstream()=default
pFlow::oFstream::operator=
oFstream & operator=(const oFstream &rhs)=delete
pFlow::Ostream
Definition:
Ostream.hpp:35
fileStream.hpp
src
phasicFlow
streams
Fstream
oFstream.hpp
Generated by
1.8.17