rwlogo

Rogue Wave Views
Application Framework Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
List of all members | Public Member Functions
IlvDvFileStream Class Reference

Application Framework file stream class. More...

#include <ilviews/appframe/stream.h>

Inheritance diagram for IlvDvFileStream:
IlvDvStream

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...
 
IlvDvStreamoperator<< (IlInt i)
 Writes the integer i. More...
 
IlvDvStreamoperator<< (IlUShort w)
 Writes the unsigned short integer w. More...
 
IlvDvStreamoperator<< (IlShort ch)
 Writes the short integer ch. More...
 
IlvDvStreamoperator<< (IlUInt u)
 Writes the unsigned integer u. More...
 
IlvDvStreamoperator<< (IlBoolean b)
 Writes the Boolean value b. More...
 
IlvDvStreamoperator<< (IlFloat f)
 Writes the float value f. More...
 
IlvDvStreamoperator<< (IlDouble d)
 Writes the double value d. More...
 
IlvDvStreamoperator<< (const IlvString &s)
 Writes the string s. More...
 
IlvDvStreamoperator>> (IlInt &i)
 Reads an integer value and stores it in the i parameter. More...
 
IlvDvStreamoperator>> (IlUShort &w)
 Reads an unsigned short integer value and stores it in the w parameter. More...
 
IlvDvStreamoperator>> (IlShort &ch)
 Reads a short integer value and stores it in the ch parameter. More...
 
IlvDvStreamoperator>> (IlUInt &u)
 Reads an unsigned integer value and stores it in the u parameter. More...
 
IlvDvStreamoperator>> (IlBoolean &b)
 Reads a Boolean value and stores it in the b parameter. More...
 
IlvDvStreamoperator>> (IlFloat &f)
 Reads a float value and stores it in the f parameter. More...
 
IlvDvStreamoperator>> (IlDouble &d)
 Reads a double value and stores it in the d parameter. More...
 
IlvDvStreamoperator>> (IlvString &s)
 Reads a string and stores it in the string object s parameter. More...
 
IlvDvSerializablereadObject ()
 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...
 

Detailed Description

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.

Constructor & Destructor Documentation

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.

Parameters
pathNameSpecifies the path of the file used for serialization.
savingIf IlTrue, the file stream is created as an output stream. Otherwise, it is created as an input stream.
displayDisplay to be used to serialize bitmaps. It must not be null if at least one bitmap must be serialized.

© Copyright 2015, 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.