OpenLB 1.7
Loading...
Searching...
No Matches
Public Member Functions | Friends | List of all members
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 makeCustomDir (std::string customDir)
 
std::string getOlbDir () const
 
std::string getLogOutDir () const
 
std::string getImageOutDir () const
 
std::string getVtkOutDir () const
 
std::string getGnuplotOutDir () 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 101 of file singleton.h.

102 {
103 return gnuplotOutDir;
104 }
+ Here is the caller graph for this function:

◆ getImageOutDir()

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

Definition at line 93 of file singleton.h.

94 {
95 return imageOutDir;
96 }
+ Here is the caller graph for this function:

◆ getLogOutDir()

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

Definition at line 89 of file singleton.h.

90 {
91 return logOutDir;
92 }
+ Here is the caller graph for this function:

◆ getOlbDir()

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

Definition at line 85 of file singleton.h.

86 {
87 return olbDir;
88 }

◆ getVtkOutDir()

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

Definition at line 97 of file singleton.h.

98 {
99 return vtkOutDir;
100 }
+ Here is the caller graph for this function:

◆ makeCustomDir()

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

Definition at line 81 of file singleton.h.

82 {
83 createDirectory(customDir);
84 }

◆ setGnuplotOutDir()

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

Definition at line 75 of file singleton.h.

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

◆ setImageOutDir()

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

Definition at line 63 of file singleton.h.

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

◆ setLogOutDir()

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

Definition at line 58 of file singleton.h.

59 {
60 createDirectory(logOutDir_);
61 logOutDir = logOutDir_;
62 }
+ 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 }
void setVtkOutDir(std::string vtkOutDir_)
Definition singleton.h:69
void setLogOutDir(std::string logOutDir_)
Definition singleton.h:58
void setGnuplotOutDir(std::string gnuplotOutDir_)
Definition singleton.h:75
void setImageOutDir(std::string imageOutDir_)
Definition singleton.h:63

References setGnuplotOutDir(), setImageOutDir(), 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 69 of file singleton.h.

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

Friends And Related Symbol Documentation

◆ directories

Directories & directories ( )
friend

Definition at line 150 of file singleton.h.

151{
152 static Directories singleton;
153 return singleton;
154}

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