|
Jpp
18.5.2
the software that should make you happy
|
Auxiliary classes and methods for binary I/O. More...
Classes | |
| class | JBinaryFileReader |
| Object reading from binary file (i.e. .jpp). More... | |
| class | JBinaryFileReader< T, true > |
| Template specialisation of JBinaryFileReader for serialisable data types. More... | |
| class | JBinaryFileReader< T, false > |
| Template specialisation of JBinaryFileReader for unserialisable data types. More... | |
| class | JBinaryWriterObjectOutput |
| Auxiliary class for object writing to binary stream. More... | |
| class | JBinaryWriterObjectOutput< T, true > |
| Implementation of object output for binary stream compatible data types. More... | |
| class | JBinaryWriterObjectOutput< T, false > |
| Implementation of object output for binary stream incompatible data types. More... | |
| class | JBinaryWriter |
| Implementation of object output to binary file for single data type. More... | |
| class | JBinaryWriter< JTypeList< JHead_t, JTail_t > > |
| Implementation of object output to binary file for multiple data types. More... | |
| class | JBinaryWriter< JTypeList< JHead_t, JNullType > > |
| Terminator class of recursive JBinaryWriter class. More... | |
| class | JBinaryFileWriter |
| Object(s) writing to binary file (i.e. .jpp). More... | |
| class | JBufferedReader |
| Buffered binary input. More... | |
| class | JBufferedWriter |
| Buffered binary output. More... | |
| class | JByteArrayReader |
| Byte array binary input. More... | |
| class | JByteArrayWriter |
| Byte array binary output. More... | |
| class | JFileReader |
| Binary input based on a file descriptor. More... | |
| class | JFileWriter |
| Binary output based on a file descriptor. More... | |
| class | JFileStreamReader |
| Binary buffered file input. More... | |
| class | JFileStreamWriter |
| Binary buffered file output. More... | |
| struct | JObjectBinaryIO |
| Auxiliary base class for storing and loading a single object to and from a binary file, respectively. More... | |
| class | JReaderObjectIterator |
| JReader object iterator. More... | |
| class | JSerialisable |
| Forward declaration of binary output. More... | |
| class | JReader |
| Interface for binary input. More... | |
| class | JWriter |
| Interface for binary output. More... | |
| class | JStreamReader |
| Binary input based on std::istream. More... | |
| class | JStreamWriter |
| Binary output based on std::ostream. More... | |
| class | JWriterObjectOutput |
| Implementation of object output using JIO::JWriter for single data type. More... | |
| class | JWriterObjectOutput< JTypeList< JHead_t, JTail_t > > |
| Implementation of object output for multiple data types. More... | |
| class | JWriterObjectOutput< JTypeList< JHead_t, JNullType > > |
| Terminator class of recursive JWriterObjectOutput class. More... | |
Functions | |
| template<class T > | |
| void | load (const char *file_name, T &object) |
| Load object from input file. More... | |
| template<class T > | |
| void | store (const char *file_name, const T &object) |
| Store object to output file. More... | |
| JReader & | operator>> (JReader &in, std::string &object) |
| Read template std::string from input. More... | |
| JWriter & | operator<< (JWriter &out, const std::string &object) |
| Write template std::string to output. More... | |
| template<class JElement_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::vector< JElement_t, JAllocator_t > &object) |
| Read template std::vector from input. More... | |
| template<class JElement_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::vector< JElement_t, JAllocator_t > &object) |
| Write template std::vector to output. More... | |
| template<class JElement_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::list< JElement_t, JAllocator_t > &object) |
| Read template std::list from input. More... | |
| template<class JElement_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::list< JElement_t, JAllocator_t > &object) |
| Write template std::list to output. More... | |
| template<class JElement_t , class JComparator_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::set< JElement_t, JComparator_t, JAllocator_t > &object) |
| Read template std::set from input. More... | |
| template<class JElement_t , class JComparator_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::set< JElement_t, JComparator_t, JAllocator_t > &object) |
| Write template std::set to output. More... | |
| template<class JElement_t , class JComparator_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::multiset< JElement_t, JComparator_t, JAllocator_t > &object) |
| Read template std::multiset from input. More... | |
| template<class JElement_t , class JComparator_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::multiset< JElement_t, JComparator_t, JAllocator_t > &object) |
| Write template std::multiset to output. More... | |
| template<class JKey_t , class JValue_t > | |
| JReader & | operator>> (JReader &in, std::pair< JKey_t, JValue_t > &object) |
| Read template std::pair from input. More... | |
| template<class JKey_t , class JValue_t > | |
| JWriter & | operator<< (JWriter &out, const std::pair< JKey_t, JValue_t > &object) |
| Write template std::pair to output. More... | |
| template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object) |
| Read template std::map from input. More... | |
| template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::map< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object) |
| Write template std::map to output. More... | |
| template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
| JReader & | operator>> (JReader &in, std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object) |
| Read template std::multimap from input. More... | |
| template<class JKey_t , class JValue_t , class JComparator_t , class JAllocator_t > | |
| JWriter & | operator<< (JWriter &out, const std::multimap< JKey_t, JValue_t, JComparator_t, JAllocator_t > &object) |
| Write template std::multimap to output. More... | |
Auxiliary classes and methods for binary I/O.
|
inline |
Load object from input file.
| file_name | file name |
| object | object to be read |
Definition at line 30 of file JIOToolkit.hh.
|
inline |
Store object to output file.
| file_name | file name |
| object | object to be written |
Definition at line 55 of file JIOToolkit.hh.
|
inline |
Read template std::string from input.
| in | reader |
| object | object |
Definition at line 27 of file JSTDIO.hh.
|
inline |
|
inline |
Read template std::vector from input.
| in | reader |
| object | object |
Definition at line 69 of file JSTDIO.hh.
|
inline |
Write template std::vector to output.
| out | writer |
| object | object |
Definition at line 93 of file JSTDIO.hh.
|
inline |
Read template std::list from input.
| in | reader |
| object | object |
Definition at line 115 of file JSTDIO.hh.
|
inline |
Write template std::list to output.
| out | writer |
| object | object |
Definition at line 144 of file JSTDIO.hh.
|
inline |
Read template std::set from input.
| in | reader |
| object | object |
Definition at line 166 of file JSTDIO.hh.
|
inline |
Write template std::set to output.
| out | writer |
| object | object |
Definition at line 195 of file JSTDIO.hh.
|
inline |
Read template std::multiset from input.
| in | reader |
| object | object |
Definition at line 217 of file JSTDIO.hh.
|
inline |
Write template std::multiset to output.
| out | writer |
| object | object |
Definition at line 246 of file JSTDIO.hh.
|
inline |
Read template std::pair from input.
| in | reader |
| object | object |
Definition at line 268 of file JSTDIO.hh.
|
inline |
Read template std::map from input.
| in | reader |
| object | object |
Definition at line 302 of file JSTDIO.hh.
|
inline |
Write template std::map to output.
| out | writer |
| object | object |
Definition at line 332 of file JSTDIO.hh.
|
inline |
Read template std::multimap from input.
| in | reader |
| object | object |
Definition at line 354 of file JSTDIO.hh.
|
inline |
Write template std::multimap to output.
| out | writer |
| object | object |
Definition at line 384 of file JSTDIO.hh.
1.8.5