FiberVISH 0.2
Fish - The Fiber Bundle API for the Vish Visualization Shell
FileNameInterface.hpp
1#ifndef __FIBERIO_HDF5_FILENAMEINTERFACE_HPP
2#define __FIBERIO_HDF5_FILENAMEINTERFACE_HPP
3
4#include <memcore/Interface.hpp>
5
6namespace Fiber
7{
8
9namespace FiberIO
10{
11
12namespace HDF5
13{
14
15using namespace MemCore;
16using namespace std;
17
18struct FileNameInterface : Interface<FileNameInterface>
19{
20 string LoadName;
21
22// WeakPtr<FileNameInterface> Parent;
23// Remember parental information even if actual parent object has died.
25
26 FileNameInterface(const string&s, const WeakPtr<FileNameInterface>&theParent = nullptr )
27 : LoadName(s)
28 , Parent( theParent )
29 {}
30
31 FileNameInterface(const string&s, const Intercube&theParentContainer );
32
34
35 string getPath() const;
36
37 string getPathWithoutRoot() const;
38 string getRoot() const;
39
40static string getPath(Intercube&IC, const string&DefaultValue = "");
41
42};
43
44}
45}
46}
47
48
49#endif // _FIBERIO_HDF5_FILENAMEINTERFACE_HPP
An iterator with an optional DataCreator, which is just a class to intercept creation of data along a...
Definition CreativeIterator.hpp:34
Given a fragmented field of curvilinear coordinates, (3D array of coordinates), build a uniform Grid ...
Definition FAQ.dox:2
STL namespace.
Definition FileNameInterface.hpp:19