ProtoStream updated

git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1296 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
hellwig
2012-06-04 15:20:32 +00:00
parent 70d6dae1e2
commit 15d659500b
2 changed files with 19 additions and 28 deletions

View File

@ -43,8 +43,6 @@ class ProtoOStream
virtual ~ProtoOStream() {};
/**
* Writes a message to a file.
* This works only if the constructor was called wit a pointer
* of an ostream.
* @param m The protobuf-message to be written.
* @return Returns true if data was written.
*/
@ -74,14 +72,10 @@ class ProtoIStream
/**
* Resets the position of the get pointer. After that getNext
* delivers the first message again.
* This works only if the constructor was called wit a pointer
* of an istream.
*/
void reset();
/**
* Delivers the protobuf-messages sequentially from file.
* This works only if the constructor was called wit a pointer
* of an istream.
* @param m The protobuf-message in which, the data should be
* written.
* @return Returns true if data was written to protobuf-message.