OpenLB 1.8.1
Loading...
Searching...
No Matches
olb::singleton::Directories Class Reference

#include <singleton.h>

+ Collaboration diagram for olb::singleton::Directories:

Public Member Functions

void setOlbDir (std::string olbDir_)
 
void setOutputDir (std::string outputDir)
 
void setLogOutDir (std::string logOutDir_)
 
void setImageOutDir (std::string imageOutDir_)
 
void setVtkOutDir (std::string vtkOutDir_)
 
void setGnuplotOutDir (std::string gnuplotOutDir_)
 
void setIntrospectionOutDir (std::string introspectionOutDir_)
 
void makeCustomDir (std::string customDir)
 
std::string getOlbDir () const
 
std::string getLogOutDir () const
 
std::string getImageOutDir () const
 
std::string getVtkOutDir () const
 
std::string getGnuplotOutDir () const
 
std::string getIntrospectionOutDir () const
 

Friends

Directoriesdirectories ()
 

Detailed Description

Definition at line 44 of file singleton.h.

Member Function Documentation

◆ getGnuplotOutDir()

std::string olb::singleton::Directories::getGnuplotOutDir ( ) const
inline

Definition at line 107 of file singleton.h.

108 {
109 return gnuplotOutDir;
110 }
+ Here is the caller graph for this function:

◆ getImageOutDir()

std::string olb::singleton::Directories::getImageOutDir ( ) const
inline

Definition at line 99 of file singleton.h.

100 {
101 return imageOutDir;
102 }
+ Here is the caller graph for this function:

◆ getIntrospectionOutDir()

std::string olb::singleton::Directories::getIntrospectionOutDir ( ) const
inline

Definition at line 111 of file singleton.h.

112 {
113 return introspectionOutDir;
114 }

◆ getLogOutDir()

std::string olb::singleton::Directories::getLogOutDir ( ) const
inline

Definition at line 95 of file singleton.h.

96 {
97 return logOutDir;
98 }
+ Here is the caller graph for this function:

◆ getOlbDir()

std::string olb::singleton::Directories::getOlbDir ( ) const
inline

Definition at line 91 of file singleton.h.

92 {
93 return olbDir;
94 }

◆ getVtkOutDir()

std::string olb::singleton::Directories::getVtkOutDir ( ) const
inline

Definition at line 103 of file singleton.h.

104 {
105 return vtkOutDir;
106 }
+ Here is the caller graph for this function:

◆ makeCustomDir()

void olb::singleton::Directories::makeCustomDir ( std::string customDir)
inline

Definition at line 87 of file singleton.h.

88 {
89 createDirectory(customDir);
90 }

◆ setGnuplotOutDir()

void olb::singleton::Directories::setGnuplotOutDir ( std::string gnuplotOutDir_)
inline

Definition at line 76 of file singleton.h.

77 {
78 createDirectory(gnuplotOutDir_);
79 createDirectory(gnuplotOutDir_+"data/");
80 gnuplotOutDir = gnuplotOutDir_;
81 }
+ Here is the caller graph for this function:

◆ setImageOutDir()

void olb::singleton::Directories::setImageOutDir ( std::string imageOutDir_)
inline

Definition at line 64 of file singleton.h.

65 {
66 createDirectory(imageOutDir_);
67 createDirectory(imageOutDir_+"data/");
68 imageOutDir = imageOutDir_;
69 }
+ Here is the caller graph for this function:

◆ setIntrospectionOutDir()

void olb::singleton::Directories::setIntrospectionOutDir ( std::string introspectionOutDir_)
inline

Definition at line 82 of file singleton.h.

83 {
84 createDirectory(introspectionOutDir_);
85 introspectionOutDir = introspectionOutDir_;
86 }
+ Here is the caller graph for this function:

◆ setLogOutDir()

void olb::singleton::Directories::setLogOutDir ( std::string logOutDir_)
inline

Definition at line 59 of file singleton.h.

60 {
61 createDirectory(logOutDir_);
62 logOutDir = logOutDir_;
63 }
+ Here is the caller graph for this function:

◆ setOlbDir()

void olb::singleton::Directories::setOlbDir ( std::string olbDir_)
inline

Definition at line 46 of file singleton.h.

47 {
48 createDirectory(olbDir_);
49 olbDir = olbDir_;
50 }
+ Here is the caller graph for this function:

◆ setOutputDir()

void olb::singleton::Directories::setOutputDir ( std::string outputDir)
inline

Definition at line 51 of file singleton.h.

52 {
53 setLogOutDir(outputDir);
54 setImageOutDir(outputDir + "imageData/");
55 setVtkOutDir(outputDir + "vtkData/");
56 setGnuplotOutDir(outputDir + "gnuplotData/");
57 setIntrospectionOutDir(outputDir + "introspectionData/");
58 }
void setVtkOutDir(std::string vtkOutDir_)
Definition singleton.h:70
void setLogOutDir(std::string logOutDir_)
Definition singleton.h:59
void setGnuplotOutDir(std::string gnuplotOutDir_)
Definition singleton.h:76
void setIntrospectionOutDir(std::string introspectionOutDir_)
Definition singleton.h:82
void setImageOutDir(std::string imageOutDir_)
Definition singleton.h:64

References setGnuplotOutDir(), setImageOutDir(), setIntrospectionOutDir(), setLogOutDir(), and setVtkOutDir().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ setVtkOutDir()

void olb::singleton::Directories::setVtkOutDir ( std::string vtkOutDir_)
inline

Definition at line 70 of file singleton.h.

71 {
72 createDirectory(vtkOutDir_);
73 createDirectory(vtkOutDir_+"data/");
74 vtkOutDir = vtkOutDir_;
75 }
+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ directories

Directories & directories ( )
friend

Definition at line 162 of file singleton.h.

163{
164 static Directories singleton;
165 return singleton;
166}

The documentation for this class was generated from the following file: