filesystem_util.h File Reference
#include <filesystem>
#include <fstream>
#include <iostream>
#include <vector>
+ Include dependency graph for filesystem_util.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 armarx
 This file offers overloads of toIce() and fromIce() functions for STL container types.
 
 armarx::armem
 
 armarx::armem::server
 
 armarx::armem::server::ltm
 
 armarx::armem::server::ltm::disk
 
 armarx::armem::server::ltm::disk::filesystem
 
 armarx::armem::server::ltm::disk::filesystem::util
 

Functions

bool checkIfFileInFilesystemExists (const std::filesystem::path &p)
 
bool checkIfFolderInFilesystemExists (const std::filesystem::path &p)
 
void ensureFileInFilesystemExists (const std::filesystem::path &p)
 
void ensureFolderInFilesystemExists (const std::filesystem::path &p, bool createIfNotExistent)
 
std::vector< std::string > getAllFilesystemDirectories (const std::filesystem::path path)
 
std::vector< std::string > getAllFilesystemFiles (const std::filesystem::path path)
 
size_t getSizeOfDirectory (const std::filesystem::path &p)
 
std::vector< unsigned char > readDataFromFilesystemFile (const std::filesystem::path path)
 
void writeDataInFilesystemFile (const std::filesystem::path &p, const std::vector< unsigned char > &data)