www.cemf.ir
iFstream.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
#ifndef __iFstream_hpp__
21
#define __iFstream_hpp__
22
23
24
#include "
fileSystem.hpp
"
25
#include "
fileStream.hpp
"
26
#include "
Istream.hpp
"
27
28
namespace
pFlow
29
{
30
37
class
iFstream
38
:
39
public
fileStream
,
40
public
Istream
41
{
42
public
:
43
45
47
iFstream
(
const
fileSystem
& path,
bool
binary =
false
);
48
50
iFstream
(
const
iFstream
& src) =
delete
;
51
53
iFstream
&
operator =
(
const
iFstream
& rhs) =
delete
;
54
56
virtual
~iFstream
() =
default
;
57
58
};
59
60
}
61
62
63
#endif
pFlow::iFstream::~iFstream
virtual ~iFstream()=default
Destructor.
Istream.hpp
fileSystem.hpp
pFlow::iFstream
Input file stream for reading binary or ascii data from a file.
Definition:
iFstream.hpp:37
pFlow
Definition:
demGeometry.hpp:27
pFlow::fileSystem
Manages file pathes, manupulate and combines them.
Definition:
fileSystem.hpp:71
pFlow::Istream
Standard input stream for binary and ascii data.
Definition:
Istream.hpp:39
pFlow::iFstream::operator=
iFstream & operator=(const iFstream &rhs)=delete
No assignment.
pFlow::fileStream
Creates and manages an input/output file stream with specified format.
Definition:
fileStream.hpp:43
pFlow::iFstream::iFstream
iFstream(const fileSystem &path, bool binary=false)
From file path and format.
Definition:
iFstream.cpp:25
fileStream.hpp
src
phasicFlow
streams
Fstream
iFstream.hpp
Generated by
1.8.17