armarx::armem::server::ltm ::util::fs Namespace Reference

Namespaces

 detail
 

Functions

bool directoryExists (const std::filesystem::path &p)
 
void ensureDirectoryExists (const std::filesystem::path &p, bool createIfNotExistent)
 
void ensureFileExists (const std::filesystem::path &p, bool createIfNotExistent)
 
bool fileExists (const std::filesystem::path &p)
 
std::vector< std::filesystem::path > getAllDirectories (const std::filesystem::path &p)
 
std::vector< std::filesystem::path > getAllFiles (const std::filesystem::path &p)
 
std::vector< unsigned char > readDataFromFile (const std::filesystem::path &p)
 
std::filesystem::path toPath (const std::filesystem::path &base, const armem::MemoryID &id)
 
void writeDataToFile (const std::filesystem::path &p, const std::vector< unsigned char > &data)
 

Function Documentation

◆ directoryExists()

bool armarx::armem::server::ltm ::util::fs::directoryExists ( const std::filesystem::path &  p)

Definition at line 130 of file filesystem.cpp.

+ Here is the caller graph for this function:

◆ ensureDirectoryExists()

void armarx::armem::server::ltm ::util::fs::ensureDirectoryExists ( const std::filesystem::path &  p,
bool  createIfNotExistent 
)

Definition at line 142 of file filesystem.cpp.

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

◆ ensureFileExists()

void armarx::armem::server::ltm ::util::fs::ensureFileExists ( const std::filesystem::path &  p,
bool  createIfNotExistent 
)

Definition at line 159 of file filesystem.cpp.

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

◆ fileExists()

bool armarx::armem::server::ltm ::util::fs::fileExists ( const std::filesystem::path &  p)

Definition at line 136 of file filesystem.cpp.

+ Here is the caller graph for this function:

◆ getAllDirectories()

std::vector<std::filesystem::path> armarx::armem::server::ltm ::util::fs::getAllDirectories ( const std::filesystem::path &  p)

Definition at line 202 of file filesystem.cpp.

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

◆ getAllFiles()

std::vector<std::filesystem::path> armarx::armem::server::ltm ::util::fs::getAllFiles ( const std::filesystem::path &  p)

Definition at line 221 of file filesystem.cpp.

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

◆ readDataFromFile()

std::vector<unsigned char> armarx::armem::server::ltm ::util::fs::readDataFromFile ( const std::filesystem::path &  p)

Definition at line 192 of file filesystem.cpp.

+ Here is the caller graph for this function:

◆ toPath()

std::filesystem::path armarx::armem::server::ltm ::util::fs::toPath ( const std::filesystem::path &  base,
const armem::MemoryID id 
)

Definition at line 94 of file filesystem.cpp.

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

◆ writeDataToFile()

void armarx::armem::server::ltm ::util::fs::writeDataToFile ( const std::filesystem::path &  p,
const std::vector< unsigned char > &  data 
)

Definition at line 178 of file filesystem.cpp.

+ Here is the caller graph for this function: