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: 14284 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: Sat Dec 13 19:19:48 CET 2025
Total time taken to generate the page: 0.09942 seconds
|