|
SUMO - Simulation of Urban MObility
|
Go to the source code of this file.
Macros | |
| #define | BUF_MAX 1000 |
Functions | |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, int &i) |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, unsigned int &i) |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, SUMOReal &f) |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, bool &b) |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, std::string &s) |
| BinaryInputDevice & | operator>> (BinaryInputDevice &os, long &l) |
Definition in file BinaryInputDevice.cpp.
| #define BUF_MAX 1000 |
Definition at line 42 of file BinaryInputDevice.cpp.
Referenced by operator>>().
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| int & | i | ||
| ) |
| [in,out] | os | The BinaryInputDevice to read the int from |
| [in] | i | The int to store the read value into |
Definition at line 62 of file BinaryInputDevice.cpp.
References BinaryInputDevice::myStream.
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| unsigned int & | i | ||
| ) |
| [in,out] | os | The BinaryInputDevice to read the unsigned int from |
| [in] | i | The unsigned int to store the read value into |
Definition at line 69 of file BinaryInputDevice.cpp.
References BinaryInputDevice::myStream.
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| SUMOReal & | f | ||
| ) |
| [in,out] | os | The BinaryInputDevice to read the SUMOReal from |
| [in] | i | The SUMOReal to store the read value into |
Definition at line 76 of file BinaryInputDevice.cpp.
References BinaryInputDevice::myStream, and SUMOReal.
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| bool & | b | ||
| ) |
| [in,out] | os | The BinaryInputDevice to read the bool from |
| [in] | i | The bool to store the read value into |
Definition at line 83 of file BinaryInputDevice.cpp.
References BinaryInputDevice::myStream.
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| std::string & | s | ||
| ) |
Reads the length of the string as an unsigned int, first. Reads then the specified number of chars into "myBuffer". Please note that the buffer has a fixed size - longer strings will cause an error.
| [in,out] | os | The BinaryInputDevice to read the string from |
| [in] | i | The string to store the read value into |
Definition at line 91 of file BinaryInputDevice.cpp.
References BUF_MAX, BinaryInputDevice::myBuffer, and BinaryInputDevice::myStream.
| BinaryInputDevice& operator>> | ( | BinaryInputDevice & | os, |
| long & | l | ||
| ) |
| [in,out] | os | The BinaryInputDevice to read the long from |
| [in] | i | The int to store the read value into |
Definition at line 105 of file BinaryInputDevice.cpp.
References BinaryInputDevice::myStream.