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 // based on OpenFOAM stream, with some modifications/simplifications
21 // to be tailored to our needs
22 
23 #ifndef __iFstream_hpp__
24 #define __iFstream_hpp__
25 
26 
27 #include "fileSystem.hpp"
28 #include "fileStream.hpp"
29 #include "Istream.hpp"
30 
31 namespace pFlow
32 {
33 
34 
35 class iFstream
36 :
37  public fileStream,
38  public Istream
39 {
40 public:
41 
42  // - Constructor
43  iFstream (const fileSystem& path);
44 
45  // no copy constructor
46  iFstream( const iFstream& src) = delete;
47 
48  // no assignment
49  iFstream& operator = (const iFstream& rhs) = delete;
50 
51  // - Destructor
52  virtual ~iFstream() = default;
53 
54 };
55 
56 }
57 
58 
59 #endif
pFlow::iFstream::~iFstream
virtual ~iFstream()=default
Istream.hpp
fileSystem.hpp
pFlow::iFstream
Definition: iFstream.hpp:35
pFlow
Definition: demComponent.hpp:28
pFlow::fileSystem
Definition: fileSystem.hpp:63
pFlow::Istream
Definition: Istream.hpp:38
pFlow::iFstream::operator=
iFstream & operator=(const iFstream &rhs)=delete
pFlow::fileStream
Definition: fileStream.hpp:36
pFlow::iFstream::iFstream
iFstream(const fileSystem &path)
Definition: iFstream.cpp:27
fileStream.hpp