coolray.org FAQ Contact Us
CoolRay Banner
CoolRay / Documentation
Main Page   Class Hierarchy   Compound List   Compound Members   Related Pages  

DataChunk Class Reference

The class DataChunk is the basic element of a ObjectFile. More...

#include <DataChunk.h>

Inheritance diagram for DataChunk

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~DataChunk ()
virtual unsigned long getStreamSize ()=0
 Get the size of the DataChunk. More...

virtual unsigned long getStreamChunk ()=0
 Get the four character code of the chunk. More...

virtual void write (OutputStreamWriterNDR &os)=0
 Write the whole chunk to a NDR stream writer. More...

virtual void read (InputStreamWriterNDR &is)=0
 Read the chunk from a NDR stream writer. More...


Detailed Description

The class DataChunk is the basic element of a ObjectFile.

It a abstract base class for all concrete DataChunk objects.

See also:
ObjectFile


Member Function Documentation

unsigned long DataChunk::getStreamChunk ( ) [pure virtual]
 

Get the four character code of the chunk.

Concrete chunks have to implement this abstract operation.

unsigned long DataChunk::getStreamSize ( ) [pure virtual]
 

Get the size of the DataChunk.

Concrete chunks have to implement this abstract operation.

void DataChunk::read ( InputStreamWriterNDR & is ) [pure virtual]
 

Read the chunk from a NDR stream writer.

Concrete chunks have to implement this abstract operation.

Parameters:
is   InputStreamWriter

void DataChunk::write ( OutputStreamWriterNDR & os ) [pure virtual]
 

Write the whole chunk to a NDR stream writer.

Concrete chunks have to implement this abstract operation.

Parameters:
os   OutputStreamWriter


The documentation for this class was generated from the following file:
  • DataChunk.h
You are visitor No.

counter

Copyright (c) 2001 Stefan Michel, All Rights Reserved.
Last modified: