This class contains a collection of static functions for reading and writing simple types, in network byte order (MSB first).
More...
|
| static uint32_t | StreamedLength (char c) |
| | Returns the number of bytes that would be written if we called Write() for a char. More...
|
| |
|
static std::ostream & | Write (std::ostream &os, char c) |
| | Writes c to os. Returns os.
|
| |
| static uint32_t | StreamedLength (uint8_t c) |
| | Returns the number of bytes that would be written if we called Write() for a uint8_t. More...
|
| |
|
static std::ostream & | Write (std::ostream &os, uint8_t c) |
| | Writes c to os. Returns os.
|
| |
| static uint32_t | StreamedLength (bool b) |
| | Returns the number of bytes that would be written if we called one of the Write() members for a bool. More...
|
| |
|
static std::ostream & | Write (std::ostream &os, bool b) |
| | Writes a bool b to an ostream os. Returns os.
|
| |
| static uint32_t | StreamedLength (int16_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for an int16_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, int16_t val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (uint16_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for a uint16_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, uint16_t val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (int32_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for an int32_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, int32_t val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (uint32_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for a uint32_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, uint32_t val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (int64_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for an int64_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, const int64_t &val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (uint64_t val) |
| | Returns the number of bytes that would be written if we called one of the Write() members for a uint64_t. More...
|
| |
| static std::ostream & | Write (std::ostream &os, const uint64_t &val) |
| | Writes val to os, in network byte order (MSB first). More...
|
| |
| static uint32_t | StreamedLength (float val) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a float. More...
|
| |
| static std::ostream & | Write (std::ostream &os, float val) |
| | Writes val to os, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static uint32_t | StreamedLength (double val) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a double. More...
|
| |
| static std::ostream & | Write (std::ostream &os, const double &val) |
| | Writes val to os, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static uint32_t | StreamedLength (const std::string &s) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a string. More...
|
| |
| static std::ostream & | Write (std::ostream &os, const std::string &s) |
| | Writes s to os. More...
|
| |
|
static std::istream & | Read (std::istream &is, char &c) |
| | Reads c from is. Returns is.
|
| |
|
static std::istream & | Read (std::istream &is, uint8_t &c) |
| | Reads c from is. Returns is.
|
| |
|
static std::istream & | Read (std::istream &is, bool &b) |
| | Reads b from is. Returns is.
|
| |
| static std::istream & | Read (std::istream &is, int16_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, uint16_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, int32_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, uint32_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, int64_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, uint64_t &val) |
| | Reads val from is, in network byte order (MSB first). More...
|
| |
| static std::istream & | Read (std::istream &is, float &val) |
| | Reads val from is, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static std::istream & | Read (std::istream &is, double &val) |
| | Reads val from is, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static std::istream & | Read (std::istream &is, std::string &s) |
| | Reads string s from is. More...
|
| |
| static ssize_t | Write (int fd, char c) |
| | Writes c to fd. More...
|
| |
| static ssize_t | Write (int fd, uint8_t c) |
| | Writes c to fd. More...
|
| |
| static ssize_t | Write (int fd, bool b) |
| | Writes b to fd. More...
|
| |
| static ssize_t | Write (int fd, int16_t val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, uint16_t val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, int32_t val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, uint32_t val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, const int64_t &val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, const uint64_t &val) |
| | Writes val to fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Write (int fd, float val) |
| | Writes val to fd, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static ssize_t | Write (int fd, const double &val) |
| | Writes val to fd, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static ssize_t | Write (int fd, const std::string &s) |
| | Writes s to fd. More...
|
| |
| static ssize_t | Read (int fd, char &c) |
| | Reads c from fd. More...
|
| |
| static ssize_t | Read (int fd, uint8_t &c) |
| | Reads c from fd. More...
|
| |
| static ssize_t | Read (int fd, bool &b) |
| | Reads b from fd. More...
|
| |
| static ssize_t | Read (int fd, int16_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, uint16_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, int32_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, uint32_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, int64_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, uint64_t &val) |
| | Reads val from fd, in network byte order (MSB first). More...
|
| |
| static ssize_t | Read (int fd, float &val) |
| | Reads val from fd, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static ssize_t | Read (int fd, double &val) |
| | Reads val from fd, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static ssize_t | Read (int fd, std::string &s) |
| | Reads s from fd. More...
|
| |
| static size_t | Write (FILE *f, char c) |
| | Writes c to f. More...
|
| |
| static size_t | Write (FILE *f, uint8_t c) |
| | Writes c to f. More...
|
| |
| static size_t | Write (FILE *f, bool b) |
| | Writes b to f. More...
|
| |
| static size_t | Write (FILE *f, int16_t val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, uint16_t val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, int32_t val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, uint32_t val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, const int64_t &val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, const uint64_t &val) |
| | Writes val to f, in network byte order (MSB first). More...
|
| |
| static size_t | Write (FILE *f, float val) |
| | Writes val to f, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static size_t | Write (FILE *f, const double &val) |
| | Writes val to f, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static size_t | Write (FILE *f, const std::string &s) |
| | Writes s to f. More...
|
| |
| static size_t | Read (FILE *f, char &c) |
| | Reads c from f. More...
|
| |
| static size_t | Read (FILE *f, uint8_t &c) |
| | Reads c from f. More...
|
| |
| static size_t | Read (FILE *f, bool &b) |
| | Reads b from f. More...
|
| |
| static size_t | Read (FILE *f, int16_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, uint16_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, int32_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, uint32_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, int64_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, uint64_t &val) |
| | Reads val from f, in network byte order (MSB first). More...
|
| |
| static size_t | Read (FILE *f, float &val) |
| | Reads val from f, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static size_t | Read (FILE *f, double &val) |
| | Reads val from f, in IEEE format (see RFC 1832 and/or ANSI/IEEE Standard 754-1985). More...
|
| |
| static size_t | Read (FILE *f, std::string &s) |
| | Reads s from f. More...
|
| |
| static uint32_t | StreamedLength (const Writable &val) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a Writable val. More...
|
| |
|
static std::ostream & | Write (std::ostream &os, const Writable &val) |
| | Wrapper function to write a Writable object to an ostream.
|
| |
|
static ssize_t | Write (int fd, const Writable &val) |
| | Wrapper function to write a Writable object to a descriptor.
|
| |
|
static size_t | Write (FILE *f, const Writable &val) |
| | Wrapper function to write a Writable object to a FILE pointer.
|
| |
|
static std::istream & | Read (std::istream &is, Readable &val) |
| | Wrapper function to read a Readable object from an istream.
|
| |
|
static ssize_t | Read (int fd, Readable &val) |
| | Wrapper function to read a Readable object from a descriptor.
|
| |
|
static size_t | Read (FILE *f, Readable &val) |
| | Wrapper function to read a Readable object from a FILE pointer.
|
| |
|
template<typename _firstT , typename _secondT > |
| static uint32_t | StreamedLength (const std::pair< _firstT, _secondT > &p) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a pair<_firstT, _secondT>
|
| |
|
template<typename _firstT , typename _secondT > |
| static std::istream & | Read (std::istream &is, std::pair< _firstT, _secondT > &p) |
| | Reads a pair<_firstT,_secondT> from an istream. Returns the istream.
|
| |
|
template<typename _firstT , typename _secondT > |
| static std::ostream & | Write (std::ostream &os, const std::pair< _firstT, _secondT > &p) |
| | Writes a pair<_firstT,_secondT> to an ostream. Returns the ostream.
|
| |
| template<typename _firstT , typename _secondT > |
| static size_t | Read (FILE *f, std::pair< _firstT, _secondT > &p) |
| | Reads a pair<_firstT,_secondT> from a FILE pointer. More...
|
| |
| template<typename _firstT , typename _secondT > |
| static size_t | Write (FILE *f, const std::pair< _firstT, _secondT > &p) |
| | Writes a pair<_firstT,_secondT> to a FILE pointer. More...
|
| |
| template<typename _firstT , typename _secondT > |
| static ssize_t | Read (int fd, std::pair< _firstT, _secondT > &p) |
| | Reads a pair<_firstT,_secondT> from a file descriptor. More...
|
| |
| template<typename _firstT , typename _secondT > |
| static ssize_t | Write (int fd, const std::pair< _firstT, _secondT > &p) |
| | Writes a pair<_firstT,_secondT> to a file descriptor. More...
|
| |
|
template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static uint32_t | StreamedLength (const std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a map<_keyT, _valueT>
|
| |
|
template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a map<_keyT,_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a map<_keyT,_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Read (FILE *f, std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a map<_keyT,_valueT> from a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Write (FILE *f, const std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a map<_keyT,_valueT> to a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Read (int fd, std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a map<_keyT,_valueT> from a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Write (int fd, const std::map< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a map<_keyT,_valueT> to a file descriptor. More...
|
| |
|
template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static uint32_t | StreamedLength (const std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a multimap<_keyT, _valueT>
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a multimap<_keyT,_valueT> from an istream. More...
|
| |
|
template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a multimap<_keyT,_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Read (FILE *f, std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a multimap<_keyT,_valueT> from a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Write (FILE *f, const std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a multimap<_keyT,_valueT> to a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Read (int fd, std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Reads a multimap<_keyT,_valueT> from a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Write (int fd, const std::multimap< _keyT, _valueT, _Compare, _Alloc > &m) |
| | Writes a multimap<_keyT,_valueT> to a file descriptor. More...
|
| |
|
template<typename _valueT , typename _Alloc > |
| static uint32_t | StreamedLength (const std::vector< _valueT, _Alloc > &v) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a vector<_valueT>
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::vector< _valueT, _Alloc > &v) |
| | Reads a vector<_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::vector< _valueT, _Alloc > &v) |
| | Writes a vector<_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Read (FILE *f, std::vector< _valueT, _Alloc > &v) |
| | Reads a vector<_valueT> from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Write (FILE *f, const std::vector< _valueT, _Alloc > &v) |
| | Writes a vector<_valueT> to a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Read (int fd, std::vector< _valueT, _Alloc > &v) |
| | Reads a vector<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Write (int fd, const std::vector< _valueT, _Alloc > &v) |
| | Writes a vector<_valueT> to a file descriptor. More...
|
| |
|
template<typename _valueT , typename _Alloc > |
| static uint32_t | StreamedLength (const std::deque< _valueT, _Alloc > &d) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a deque<_valueT>
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::deque< _valueT, _Alloc > &d) |
| | Reads a deque<_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::deque< _valueT, _Alloc > &d) |
| | Writes a deque<_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Read (FILE *f, std::deque< _valueT, _Alloc > &d) |
| | Reads a deque<_valueT> from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Write (FILE *f, const std::deque< _valueT, _Alloc > &d) |
| | Writes a deque<_valueT> to a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Read (int fd, std::deque< _valueT, _Alloc > &d) |
| | Reads a deque<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Write (int fd, const std::deque< _valueT, _Alloc > &d) |
| | Writes a deque<_valueT> to a file descriptor. More...
|
| |
|
template<typename _valueT , typename _Alloc > |
| static uint32_t | StreamedLength (const std::list< _valueT, _Alloc > &l) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a list<_valueT>
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::list< _valueT, _Alloc > &l) |
| | Reads a list<_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _valueT , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::list< _valueT, _Alloc > &l) |
| | Writes a list<_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Read (FILE *f, std::list< _valueT, _Alloc > &l) |
| | Reads a list<_valueT> from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static size_t | Write (FILE *f, const std::list< _valueT, _Alloc > &l) |
| | Writes a list<_valueT> to a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Read (int fd, std::list< _valueT, _Alloc > &l) |
| | Reads a list<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Alloc > |
| static ssize_t | Write (int fd, const std::list< _valueT, _Alloc > &l) |
| | Writes a list<_valueT> to a file descriptor. More...
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static uint32_t | StreamedLength (const std::set< _valueT, _Compare, _Alloc > &l) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a set<_valueT>
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::set< _valueT, _Compare, _Alloc > &l) |
| | Reads a set<_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::set< _valueT, _Compare, _Alloc > &l) |
| | Writes a set<_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Read (FILE *f, std::set< _valueT, _Compare, _Alloc > &l) |
| | Reads a set<_valueT> from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Write (FILE *f, const std::set< _valueT, _Compare, _Alloc > &l) |
| | Writes a set<_valueT> to a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Read (int fd, std::set< _valueT, _Compare, _Alloc > &l) |
| | Reads a set<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Write (int fd, const std::set< _valueT, _Compare, _Alloc > &l) |
| | Writes a set<_valueT> to a file descriptor. More...
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static uint32_t | StreamedLength (const std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a multiset<_valueT>
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Reads a multiset<_valueT> from an istream. Returns the istream.
|
| |
|
template<typename _valueT , typename _Compare , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Writes a multiset<_valueT> to an ostream. Returns the ostream.
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Read (FILE *f, std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Reads a multiset<_valueT> from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static size_t | Write (FILE *f, const std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Writes a multiset<_valueT> to a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Read (int fd, std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Reads a multiset<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Compare , typename _Alloc > |
| static ssize_t | Write (int fd, const std::multiset< _valueT, _Compare, _Alloc > &l) |
| | Writes a multiset<_valueT> to a file descriptor. More...
|
| |
|
template<typename T , typename... Args> |
| static uint32_t | VarStreamedLength (const T &t, Args... args) |
| |
|
template<typename T , typename... Args> |
| static std::ostream & | VarWrite (std::ostream &os, const T &t, Args... args) |
| |
|
template<typename T , typename... Args> |
| static std::istream & | VarRead (std::istream &is, const T &t, Args... args) |
| |
| template<typename T , typename... Args> |
| static uint32_t | StreamedLength (const std::tuple< T, Args... > &t) |
| | Returns the number of bytes that should be written if we call one of the Write() members for a tuple. More...
|
| |
|
template<typename T , typename... Args> |
| static std::istream & | Read (std::istream &is, std::tuple< T, Args... > &t) |
| | Reads a tuple from an istream. Returns the istream.
|
| |
|
template<typename T , typename... Args> |
| static std::ostream & | Write (std::ostream &os, const std::tuple< T, Args... > &t) |
| | Writes a tuple to an ostream. Returns the ostream.
|
| |
| template<typename T , typename... Args> |
| static ssize_t | Read (int fd, std::tuple< T, Args... > &t) |
| | Reads a tuple from a file descriptor. More...
|
| |
| template<typename T , typename... Args> |
| static ssize_t | Write (int fd, const std::tuple< T, Args... > &t) |
| | Writes a tuple to a file descriptor. More...
|
| |
|
template<typename T , typename... Args> |
| static size_t | Read (FILE *f, std::tuple< T, Args... > &t) |
| | Reads a tuple from a FILE. Returns 1 on success, 0 on failure.
|
| |
|
template<typename T , typename... Args> |
| static size_t | Write (FILE *f, const std::tuple< T, Args... > &t) |
| | Writes a tuple to a FILE. Returns 1 on success, 0 on failure.
|
| |
|
template<typename T > |
| static std::istream & | ReadTuple (std::istream &is, T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static std::ostream & | WriteTuple (std::ostream &os, const T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static ssize_t | ReadTuple (int fd, T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static ssize_t | WriteTuple (int fd, const T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static size_t | ReadTuple (FILE *f, T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static size_t | WriteTuple (FILE *f, const T &t) |
| | T must be a tuple.
|
| |
|
template<typename T > |
| static uint32_t | TupleStreamedLength (const T &t) |
| | T must be a tuple.
|
| |
|
template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static uint32_t | StreamedLength (const std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_map<_keyT,_valueT> from an istream. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes a unordered_map<_keyT,_valueT> to an ostream. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Read (int fd, std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_map<_keyT,_valueT> from a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Write (int fd, const std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes an unordered_map<_keyT,_valueT> to a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Read (FILE *f, std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Reads an unordered_map from a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Write (FILE *f, const std::unordered_map< _keyT, _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Writes an unordered_map to a FILE pointer. More...
|
| |
|
template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static uint32_t | StreamedLength (const std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_multimap<_keyT,_valueT> from an istream. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes a unordered_multimap<_keyT,_valueT> to an ostream. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Read (int fd, std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_multimap<_keyT,_valueT> from a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Write (int fd, const std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes an unordered_multimap<_keyT,_valueT> to a file descriptor. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Read (FILE *f, std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Reads an unordered_multimap from a FILE pointer. More...
|
| |
| template<typename _keyT , typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Write (FILE *f, const std::unordered_multimap< _keyT, _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Writes an unordered_multimap to a FILE pointer. More...
|
| |
|
template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static uint32_t | StreamedLength (const std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &m) |
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_set<_valueT> from an istream. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes a unordered_set<_valueT> to an ostream. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Read (int fd, std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_set<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Write (int fd, const std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes an unordered_set<_valueT> to a file descriptor. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Read (FILE *f, std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Reads an unordered_set from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Write (FILE *f, const std::unordered_set< _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Writes an unordered_set to a FILE pointer. More...
|
| |
|
template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static uint32_t | StreamedLength (const std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &m) |
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::istream & | Read (std::istream &is, std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_multiset<_valueT> from an istream. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static std::ostream & | Write (std::ostream &os, const std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes a unordered_multiset<_valueT> to an ostream. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Read (int fd, std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Reads an unordered_multiset<_valueT> from a file descriptor. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static ssize_t | Write (int fd, const std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &m) |
| | Writes an unordered_multiset<_valueT> to a file descriptor. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Read (FILE *f, std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Reads an unordered_multiset from a FILE pointer. More...
|
| |
| template<typename _valueT , typename _Hash , typename _Pred , typename _Alloc > |
| static size_t | Write (FILE *f, const std::unordered_multiset< _valueT, _Hash, _Pred, _Alloc > &hm) |
| | Writes an unordered_multiset to a FILE pointer. More...
|
| |