CFEL - ASG Software Suite
2.5.0
CASS
|
Functions | |
template<typename T > | |
T | retrieve (std::ifstream &file) |
retrieve a variable from a file stream More... | |
template<typename T > | |
T | peek (std::ifstream &file) |
retrieve a variable from a file stream without extracting it More... | |
template<typename T > | |
QDataStream & | operator>> (QDataStream &stream, T &evt) |
reading a type from the QDataStream More... | |
template<typename T > | |
std::ifstream & | operator>> (std::ifstream &stream, T &evt) |
reading a type from the filestream More... | |
QDataStream& cass::Streaming::operator>> | ( | QDataStream & | stream, |
T & | evt | ||
) |
reading a type from the QDataStream
T | the type that should be read from the stream |
stream | the stream to read from |
evt | the header to read to |
Definition at line 244 of file cass.h.
References QDataStream::readRawData().
std::ifstream& cass::Streaming::operator>> | ( | std::ifstream & | stream, |
T & | evt | ||
) |
T cass::Streaming::peek | ( | std::ifstream & | file | ) |
T cass::Streaming::retrieve | ( | std::ifstream & | file | ) |
retrieve a variable from a file stream
the | type of the variable to retrieve |
file | The file stream to retrieve the vairable from |