Tools.h++ Class Reference

Table Of Contents
Type Conversion
operator
int();
Type conversion to int.
Public Member Functions
RWspace
binaryStoreSize() const;
Returns the number of bytes necessary to store the object using the global function:
RWFile& operator<<(RWFile&, const RWInteger&);
int
value() const;
Returns the value of the RWInteger.
int
value(int newval);
Changes the value of the RWInteger to newval and returns the old value.
Related Global Operators
ostream&
operator<<(ostream& o, const RWInteger& x);
Output x to ostream o.
istream&
operator>>(istream& i, RWInteger& x);
Input x from istream i.
RWvostream&
operator<<(RWvostream&, const RWInteger& x);
RWFile&
operator<<(RWFile&, const RWInteger& x);
Saves the RWInteger x to a virtual stream or RWFile, respectively.
RWvistream&
operator>>(RWvistream&, RWInteger& x);
RWFile&
operator>>(RWFile&, RWInteger& x);
Restores an RWInteger into x from a virtual stream or RWFile, respectively, replacing
the previous contents of x.