#include <CNCL/Pstream.h>
CN_PSTREAM
CNObject
None
None
CNPstream
is the abstract base class for the persistent stream
classes. Thus, only IO-operators
and IO-functions are defined here. The concrete definition of the
methods and operators must be done in the derived classes. Thus by this
approach the possibilities of polymorphism are kept.
Constructors:
CNPstream();
CNPstream(*param);
CNPstream
.
In addition to the member functions required by CNCL, CNstream
provides:
virtual CNPstream& operator<<(const char*)=0;
virtual CNPstream& operator<<(char)=0;
virtual CNPstream& operator<<(long)=0;
virtual CNPstream& operator<<(double)=0;
virtual CNPstream& operator>>(char*)=0;
virtual CNPstream& operator>>(char&)=0;
virtual CNPstream& operator>>(long&)=0;
virtual CNPstream& operator>>(double&)=0;
virtual CNPstream& getline(char*, int ) = 0;
getline
function for string input.
Go to the first, previous, next, last section, table of contents.