Classes | Functions
ISFileManager Namespace Reference

Classes

struct  file_info_t
 

Functions

void DeleteDirectory (const std::string &directory, bool recursive)
 
bool DeleteFile (const std::string &fullFilePath)
 
bool GetAllFilesInDirectory (const std::string &directory, bool recursive, const std::string &regexPattern, std::vector< std::string > &files)
 
bool GetAllFilesInDirectory (const std::string &directory, bool recursive, std::vector< std::string > &files)
 
uint64_t GetDirectorySpaceAvailable (const std::string &directory)
 
uint64_t GetDirectorySpaceUsed (const std::string &directory, bool recursive)
 
uint64_t GetDirectorySpaceUsed (const std::string &directory, std::vector< file_info_t > &files, bool sortByDate, bool recursive)
 
uint64_t GetDirectorySpaceUsed (const std::string &directory, std::string regexPattern, std::vector< file_info_t > &files, bool sortByDate, bool recursive)
 
std::string GetFileName (const std::string &path)
 
bool PathIsDir (const std::string &path)
 
bool TouchFile (const std::string &path)
 

Function Documentation

◆ DeleteDirectory()

void ISFileManager::DeleteDirectory ( const std::string &  directory,
bool  recursive 
)

Definition at line 179 of file ISFileManager.cpp.

◆ DeleteFile()

bool ISFileManager::DeleteFile ( const std::string &  fullFilePath)

Definition at line 169 of file ISFileManager.cpp.

◆ GetAllFilesInDirectory() [1/2]

bool ISFileManager::GetAllFilesInDirectory ( const std::string &  directory,
bool  recursive,
const std::string &  regexPattern,
std::vector< std::string > &  files 
)

Definition at line 43 of file ISFileManager.cpp.

◆ GetAllFilesInDirectory() [2/2]

bool ISFileManager::GetAllFilesInDirectory ( const std::string &  directory,
bool  recursive,
std::vector< std::string > &  files 
)

Definition at line 164 of file ISFileManager.cpp.

◆ GetDirectorySpaceAvailable()

uint64_t ISFileManager::GetDirectorySpaceAvailable ( const std::string &  directory)

Definition at line 317 of file ISFileManager.cpp.

◆ GetDirectorySpaceUsed() [1/3]

uint64_t ISFileManager::GetDirectorySpaceUsed ( const std::string &  directory,
bool  recursive 
)

Definition at line 246 of file ISFileManager.cpp.

◆ GetDirectorySpaceUsed() [2/3]

uint64_t ISFileManager::GetDirectorySpaceUsed ( const std::string &  directory,
std::vector< file_info_t > &  files,
bool  sortByDate,
bool  recursive 
)

Definition at line 253 of file ISFileManager.cpp.

◆ GetDirectorySpaceUsed() [3/3]

uint64_t ISFileManager::GetDirectorySpaceUsed ( const std::string &  directory,
std::string  regexPattern,
std::vector< file_info_t > &  files,
bool  sortByDate,
bool  recursive 
)

Definition at line 258 of file ISFileManager.cpp.

◆ GetFileName()

std::string ISFileManager::GetFileName ( const std::string &  path)

Definition at line 373 of file ISFileManager.cpp.

◆ PathIsDir()

bool ISFileManager::PathIsDir ( const std::string &  path)

Is this path directory?

Parameters
paththe path to check
Returns
true if the path is a directory, false otherwise

Definition at line 31 of file ISFileManager.cpp.

◆ TouchFile()

bool ISFileManager::TouchFile ( const std::string &  path)

Definition at line 383 of file ISFileManager.cpp.



inertial_sense_ros
Author(s):
autogenerated on Sat Sep 19 2020 03:19:10