www.cemf.ir
fileSeries.hpp
Go to the documentation of this file.
1 
2 
3 
4 #ifndef __fileSeries_hpp__
5 #define __fileSeries_hpp__
6 
7 #include "fileStream.hpp"
8 #include "Map.hpp"
9 
10 
11 namespace pFlow::PFtoVTK
12 {
13 
15 {
16 private:
17 
19 
21 
23 
24  void writeOneBaseName(const word& baseName);
25 
26 public:
27 
28  fileSeries(const fileSystem dest);
29 
30  ~fileSeries();
31 
32 
33  bool addTimeFile(const word& baseName, real time, const word& fileName);
34 
35  bool addTimeFile(const wordList& baseNames, real time, const wordList& fileNames);
36 };
37 
38 }
39 
40 
41 #endif //__fileSeries_hpp__
pFlow::List< word >
pFlow::PFtoVTK::fileSeries::writeOneBaseName
void writeOneBaseName(const word &baseName)
Definition: fileSeries.cpp:5
pFlow::real
float real
Definition: builtinTypes.hpp:45
pFlow::PFtoVTK::fileSeries::destDir_
fileSystem destDir_
Definition: fileSeries.hpp:22
Map.hpp
pFlow::word
std::string word
Definition: builtinTypes.hpp:64
pFlow::PFtoVTK::fileSeries
Definition: fileSeries.hpp:14
pFlow::fileSystem
Manages file pathes, manupulate and combines them.
Definition: fileSystem.hpp:71
pFlow::baseName
word baseName(const word &w, char sep='.')
Find the base in a group separated by "." and return it.
Definition: bTypesFunctions.cpp:185
pFlow::PFtoVTK::fileSeries::fileSeries
fileSeries(const fileSystem dest)
Definition: fileSeries.cpp:33
pFlow::PFtoVTK::fileSeries::timeFiles_
Map< word, TimeFileType > timeFiles_
Definition: fileSeries.hpp:20
pFlow::PFtoVTK::fileSeries::~fileSeries
~fileSeries()
Definition: fileSeries.cpp:40
pFlow::PFtoVTK::fileSeries::addTimeFile
bool addTimeFile(const word &baseName, real time, const word &fileName)
Definition: fileSeries.cpp:49
pFlow::Map
Definition: Map.hpp:36
fileStream.hpp
pFlow::PFtoVTK
Definition: fileSeries.hpp:11