|
#include "filesystem.h"
#include <fstream>
#include <iostream>
#include <SimoxUtility/algorithm/string.h>
#include <ArmarXCore/core/exceptions/local/ExpressionException.h>
#include <RobotAPI/libraries/armem/core/MemoryID.h>
#include <RobotAPI/libraries/armem/core/error.h>
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 ::util | |
armarx::armem::server::ltm ::util::fs | |
armarx::armem::server::ltm ::util::fs::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) |
std::string | escapeName (const std::string &segmentName) |
std::string | extractLastDirectoryFromPath (const std::string &path) |
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) |
bool | isDateString (const std::string &s) |
bool | isNumberString (const std::string &s) |
std::vector< unsigned char > | readDataFromFile (const std::filesystem::path &p) |
std::string | toDayString (const Time &t) |
std::filesystem::path | toPath (const std::filesystem::path &base, const armem::MemoryID &id) |
std::string | toSecondsString (const Time &t) |
std::string | unescapeName (const std::string &escapedName) |
void | writeDataToFile (const std::filesystem::path &p, const std::vector< unsigned char > &data) |