|
std::string | ctd::file::RootVarTypeNbToString (const RootType type) |
| Convert root type from number to string representation. More...
|
|
RootType | ctd::file::RootVarTypeStringToNb (const std::string &type) |
| Convert root type from string to number representation. More...
|
|
std::string | ctd::file::ResDirNbToString (const ResourceType type) |
| Convert resource type from number to string representation. More...
|
|
ResourceType | ctd::file::ResDirStringToNb (const std::string &type) |
| Convert resource type from string to number representation. More...
|
|
std::string | ctd::file::CheckAddExtension (const std::string &filename, const std::string &extension) |
| Check if filename has the specified extension (no initiating dot). If not, add it. More...
|
|
void | ctd::file::RemoveFile (const std::string &filename) |
| Remove the referenced file, if it exists. More...
|
|
std::string | ctd::file::CreateIfwFilename (const std::string &filename, const RootType root, const ResourceType resource, const std::string &extension="") |
| Create a resource path in the IFW deployment environment. More...
|
|
std::string | ctd::file::ResolvePath (const std::string &filename) |
| Resolve the filename if it contains env. variables, "~" and relative paths. More...
|
|
std::string | ctd::file::FindFile (const std::string &filename, RootType roots=RootType::ROOTS_ALL, int32_t resources=RES_ALL, const bool exception=true) |
| Locate file in the locations defined by the ELT ICS deployment environment. More...
|
|
std::string | ctd::file::LoadFile (const std::string &filename, std::string *complete_filename=nullptr, RootType roots=RootType::ROOTS_ALL, ResourceType resources=RES_ALL) |
| Load a file and return the content. More...
|
|
void | ctd::file::SaveFile (const std::string &filename, const std::string &buffer, const bool overwrite=true) |
| Save the contents inthe buffer into the given filename. More...
|
|