Home » Community » U++ community news and announcements » Stream::[Set|Get]Version
Stream::[Set|Get]Version [message #57347] |
Thu, 15 July 2021 15:25 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
Not sure why I have not done this long time ago, but Stream now holds single additional attribute:
void SetVersion(int ver)
Sets the arbitrary number ver to the stream. Client code can use it in any way it needs, but it is designed to store the the version information during serialization.
int GetVersion() const
Reads the number set by SetVersion.
|
|
|
Goto Forum:
Current Time: Fri Mar 29 09:39:19 CET 2024
Total time taken to generate the page: 0.01745 seconds
|