[mrpt-io]
Overview
C++ library for Input-Output (IO) to raw and compressed files,
Library mrpt-io
This library is part of MRPT and can be installed in Debian-based systems with:
sudo apt install libmrpt-io-dev
See: mrpt_from_cmake
Library contents
// enums enum mrpt::io::OpenMode; // classes class mrpt::io::CFileGZInputStream; class mrpt::io::CFileGZOutputStream; class mrpt::io::CFileInputStream; class mrpt::io::CFileOutputStream; class mrpt::io::CFileStream; class mrpt::io::CMemoryStream; class mrpt::io::CPipe; class mrpt::io::CPipeBaseEndPoint; class mrpt::io::CPipeReadEndPoint; class mrpt::io::CStream; class mrpt::io::CTextFileLinesParser; // global functions std::string mrpt::io::lazy_load_absolute_path(const std::string& relativeOrAbsolutePath); const std::string& mrpt::io::getLazyLoadPathBase(); void mrpt::io::setLazyLoadPathBase(const std::string& path); void mrpt::io::registerAllClasses_mrpt_io();
Global Functions
std::string mrpt::io::lazy_load_absolute_path(const std::string& relativeOrAbsolutePath)
Makes sure of building an absolute path for the given relative (or possibly absolute) lazy-load object.
const std::string& mrpt::io::getLazyLoadPathBase()
Gets the current path to be used to locate relative lazy-load externally stored objects via lazy_load_absolute_path().
Default is "."
.
void mrpt::io::setLazyLoadPathBase(const std::string& path)
Changes the base path to be used to locate relative lazy-load externally stored objects via lazy_load_absolute_path().
void mrpt::io::registerAllClasses_mrpt_io()
Forces manual RTTI registration of all serializable classes in this namespace.
Should never be required to be explicitly called by users, except if building MRPT as a static library.