|
MRPT
2.0.4
|
Namespaces | |
| internal | |
| zip | |
| Compression using the "zip" algorithm and from/to gzip (gz) files. | |
Classes | |
| class | CFileGZInputStream |
| Transparently opens a compressed "gz" file and reads uncompressed data from it. More... | |
| class | CFileGZOutputStream |
| Saves data to a file and transparently compress the data using the given compression level. More... | |
| class | CFileInputStream |
| This CStream derived class allow using a file as a read-only, binary stream. More... | |
| class | CFileOutputStream |
| This CStream derived class allow using a file as a write-only, binary stream. More... | |
| class | CFileStream |
| This CStream derived class allow using a file as a read/write binary stream, creating it if the file didn't exist. More... | |
| class | CMemoryStream |
| This CStream derived class allow using a memory buffer as a CStream. More... | |
| class | CPipe |
| A pipe, portable across different OS. More... | |
| class | CPipeBaseEndPoint |
| Common interface of read & write pipe end-points. More... | |
| class | CPipeReadEndPoint |
| The read end-point in a pipe created with mrpt::synch::CPipe. More... | |
| class | CPipeWriteEndPoint |
| The write end-point in a pipe created with mrpt::synch::CPipe. More... | |
| class | CStream |
| This base class is used to provide a unified interface to files,memory buffers,..Please see the derived classes. More... | |
| class | CTextFileLinesParser |
| A class for parsing text files, returning each non-empty and non-comment line, along its line number. More... | |
Typedefs | |
| using | TFileOpenModes = int |
| File open modes are used in CFileStream Posible values are: More... | |
Enumerations | |
| enum | { fomRead = 1, fomWrite = 2, fomAppend = 4 } |
Functions | |
| template<typename MATRIX > | |
| void | load_csv (const std::string &path, MATRIX &M) |
| Loads a matrix from a CSV text file. More... | |
| bool | vectorToBinaryFile (const std::vector< uint8_t > &vec, const std::string &fileName) |
| Saves a vector directly as a binary dump to a file: More... | |
| bool | loadBinaryFile (std::vector< uint8_t > &out_data, const std::string &fileName) |
| Loads a entire file as a vector of bytes. More... | |
| bool | loadTextFile (std::vector< std::string > &o, const std::string &fileName) |
| Loads a text file as a vector of string lines. More... | |
| std::string | file_get_contents (const std::string &fileName) |
| Loads an entire text file and return its contents as a single std::string. More... | |
| bool | vectorToTextFile (const std::vector< float > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| A useful function for debugging, which saves a numeric std::vector as a plain-text file compatible with MATLAB. More... | |
| bool | vectorToTextFile (const std::vector< double > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| bool | vectorToTextFile (const std::vector< int > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| bool | vectorToTextFile (const std::vector< size_t > &vec, const std::string &fileName, bool append=false, bool byRows=false) |
| template<class EIGEN_MATRIX > | |
| bool | vectorToTextFile (const EIGEN_MATRIX &vec, const std::string &fileName) |
| bool | vectorNumericFromTextFile (std::vector< double > &vec, const std::string &fileName, const bool byRows=false) |
| Load a numeric std::vector<double> from a text file (compat. More... | |
| using mrpt::io::TFileOpenModes = typedef int |
File open modes are used in CFileStream Posible values are:
Definition at line 22 of file CFileStream.h.
| anonymous enum |
| Enumerator | |
|---|---|
| fomRead | |
| fomWrite | |
| fomAppend | |
Definition at line 23 of file CFileStream.h.
| Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020 |