Open3D (C++ API)  0.11.0
Namespaces | Functions
FileSystem.cpp File Reference

(414a67ae (Mon Aug 10 22:04:24 2020 -0700))

#include "open3d/utility/FileSystem.h"
#include <fcntl.h>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <sstream>
#include <dirent.h>
#include <limits.h>
#include <sys/stat.h>
#include <unistd.h>
#include "open3d/utility/Console.h"

Namespaces

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

Functions

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)
 
bool open3d::utility::filesystem::ChangeWorkingDirectory (const std::string &directory)
 
bool open3d::utility::filesystem::DirectoryExists (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::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)
 
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)