mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
|
A utility to read/write vectors of data from/to a binary file. More...
A utility to read/write vectors of data from/to a binary file.
Definition in file binVector.hpp.
Go to the source code of this file.
Namespaces | |
mx | |
The mxlib c++ namespace. | |
mx::ioutils::binVTypes | |
Namespace fo the bin-vector type-codes. | |
Typedefs | |
typedef uint64_t | mx::ioutils::binVSizeT |
The type used for binVector sizes. More... | |
typedef uint64_t | mx::ioutils::binVTypeT |
The type of binVector type codes. More... | |
Enumerations | |
enum | : binVTypeT |
The pre-defined type codes for binVector. More... | |
Functions | |
template<typename dataT > | |
binVTypeT | mx::ioutils::binVectorTypeCode () |
Get the integer type code corresponding to the type. More... | |
template<typename dataT > | |
int | mx::ioutils::readBinVector (std::vector< dataT > &vec, const std::string &fname) |
Read a BinVector file from disk. More... | |
template<typename dataT > | |
int | mx::ioutils::writeBinVector (const std::string &fname, std::vector< dataT > &vec) |
Write a BinVector file to disk. More... | |
typedef uint64_t mx::ioutils::binVSizeT |
The type used for binVector sizes.
Definition at line 57 of file binVector.hpp.