Open3D (C++ API)  0.17.0
Data Structures | Namespaces | Functions
FileSystem.h File Reference

(9238339 (Tue Mar 14 18:49:09 2023 -0700))

#include <functional>
#include <string>
#include <vector>

Go to the source code of this file.

Data Structures

class  open3d::utility::filesystem::CFile
 

Namespaces

 open3d
 
 open3d::utility
 
 open3d::utility::filesystem
 

Functions

std::string open3d::utility::filesystem::GetHomeDirectory ()
 Get the HOME directory for the user. More...
 
std::string open3d::utility::filesystem::GetFileExtensionInLowerCase (const std::string &filename)
 
std::string open3d::utility::filesystem::GetFileNameWithoutExtension (const std::string &filename)
 
std::string open3d::utility::filesystem::GetFileNameWithoutDirectory (const std::string &filename)
 
std::string open3d::utility::filesystem::GetFileParentDirectory (const std::string &filename)
 
std::string open3d::utility::filesystem::GetRegularizedDirectoryName (const std::string &directory)
 
std::string open3d::utility::filesystem::GetWorkingDirectory ()
 
std::vector< std::string > open3d::utility::filesystem::GetPathComponents (const std::string &path)
 
std::string open3d::utility::filesystem::GetTempDirectoryPath ()
 
bool open3d::utility::filesystem::ChangeWorkingDirectory (const std::string &directory)
 
bool open3d::utility::filesystem::DirectoryExists (const std::string &directory)
 
bool open3d::utility::filesystem::DirectoryIsEmpty (const std::string &directory)
 
bool open3d::utility::filesystem::MakeDirectory (const std::string &directory)
 
bool open3d::utility::filesystem::MakeDirectoryHierarchy (const std::string &directory)
 
bool open3d::utility::filesystem::DeleteDirectory (const std::string &directory)
 
bool open3d::utility::filesystem::FileExists (const std::string &filename)
 
bool open3d::utility::filesystem::Copy (const std::string &src_path, const std::string &dst_path)
 
bool open3d::utility::filesystem::RemoveFile (const std::string &filename)
 
bool open3d::utility::filesystem::ListDirectory (const std::string &directory, std::vector< std::string > &subdirs, std::vector< std::string > &filenames)
 
bool open3d::utility::filesystem::ListFilesInDirectory (const std::string &directory, std::vector< std::string > &filenames)
 
bool open3d::utility::filesystem::ListFilesInDirectoryWithExtension (const std::string &directory, const std::string &extname, std::vector< std::string > &filenames)
 
std::vector< std::string > open3d::utility::filesystem::FindFilesRecursively (const std::string &directory, std::function< bool(const std::string &)> is_match)
 
FILE * open3d::utility::filesystem::FOpen (const std::string &filename, const std::string &mode)
 
std::string open3d::utility::filesystem::GetIOErrorString (const int errnoVal)
 
bool open3d::utility::filesystem::FReadToBuffer (const std::string &path, std::vector< char > &bytes, std::string *errorStr)
 
std::string open3d::utility::filesystem::JoinPath (const std::vector< std::string > &path_components)
 
std::string open3d::utility::filesystem::JoinPath (const std::string &path_component1, const std::string &path_component2)
 
std::string open3d::utility::filesystem::AddIfExist (const std::string &path, const std::vector< std::string > &folder_names)