Rogue Wave Views Application Framework Package API Reference Guide |
Rogue Wave Views Documentation Home |
Application Framework file stream class. More...
#include <ilviews/appframe/stream.h>
Public Member Functions | |
IlvDvFileStream (const IlvPathName &pathName, IlBoolean saving, IlvDisplay *display=0) | |
Constructor of the IlvDvFileStream class. More... | |
Public Member Functions inherited from IlvDvStream | |
istream * | getInStream () const |
Verbose: More... | |
ostream * | getOutStream () const |
Returns the internal output stream. More... | |
IlBoolean | isSaving () const |
Returns IlTrue if the stream is used for saving data. More... | |
IlvDvStream & | operator<< (IlInt i) |
Writes the integer i. More... | |
IlvDvStream & | operator<< (IlUShort w) |
Writes the unsigned short integer w. More... | |
IlvDvStream & | operator<< (IlShort ch) |
Writes the short integer ch. More... | |
IlvDvStream & | operator<< (IlUInt u) |
Writes the unsigned integer u. More... | |
IlvDvStream & | operator<< (IlBoolean b) |
Writes the Boolean value b. More... | |
IlvDvStream & | operator<< (IlFloat f) |
Writes the float value f. More... | |
IlvDvStream & | operator<< (IlDouble d) |
Writes the double value d. More... | |
IlvDvStream & | operator<< (const IlvString &s) |
Writes the string s. More... | |
IlvDvStream & | operator>> (IlInt &i) |
Reads an integer value and stores it in the i parameter. More... | |
IlvDvStream & | operator>> (IlUShort &w) |
Reads an unsigned short integer value and stores it in the w parameter. More... | |
IlvDvStream & | operator>> (IlShort &ch) |
Reads a short integer value and stores it in the ch parameter. More... | |
IlvDvStream & | operator>> (IlUInt &u) |
Reads an unsigned integer value and stores it in the u parameter. More... | |
IlvDvStream & | operator>> (IlBoolean &b) |
Reads a Boolean value and stores it in the b parameter. More... | |
IlvDvStream & | operator>> (IlFloat &f) |
Reads a float value and stores it in the f parameter. More... | |
IlvDvStream & | operator>> (IlDouble &d) |
Reads a double value and stores it in the d parameter. More... | |
IlvDvStream & | operator>> (IlvString &s) |
Reads a string and stores it in the string object s parameter. More... | |
IlvDvSerializable * | readObject () |
Reads an IlvDvSerializable object. More... | |
void | serialize (IlvString &s, IlBoolean betweenQuotes=IlTrue) |
Serializes the string parameter s. More... | |
void | serialize (const IlSymbol *&s, IlBoolean betweenQuotes=IlTrue) |
Serializes the symbol parameter s. More... | |
void | serializeBitmap (IlvBitmap *&b, IlBoolean lock=IlTrue) |
Serializes the bitmap parameter b. More... | |
void | serializeObjects (IlvArray &objs) |
Serializes the array objs of IlvDvSerializable objects given as the parameter. More... | |
void | writeObject (const IlvDvSerializable *o) |
Writes an IlvDvSerializable object. More... | |
Application Framework file stream class.
Library: ilvappframe
IlvDvFileStream
is a subclass of IlvDvStream
.
It creates and manages a file stream. For example, it is used by the IlvDvDocument
class to read and save the document data in the document file.
IlvDvFileStream::IlvDvFileStream | ( | const IlvPathName & | pathName, |
IlBoolean | saving, | ||
IlvDisplay * | display = 0 |
||
) |
Constructor of the IlvDvFileStream
class.
IlvDvFileStream
is a subclass of IlvDvStream
.
This method constructs and initializes an IlvDvFileStream
object using the given parameters.
pathName | Specifies the path of the file used for serialization. |
saving | If IlTrue , the file stream is created as an output stream. Otherwise, it is created as an input stream. |
display | Display to be used to serialize bitmaps. It must not be null if at least one bitmap must be serialized. |
© Copyright 2016, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.