Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

DCFbytepack.h File Reference

#include <iostream.h>

Include dependency graph for DCFbytepack.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

class  bytepack

Functions

ostream & operator<< (ostream &, bytepack &)
istream & operator>> (istream &, bytepack &)


Function Documentation

ostream& operator<< ostream &  ,
bytepack
 

Definition at line 189 of file DCFbytepack.cpp.

References bytepack._pt, bytepack._size, and bytepack.write().

00189                                                    {
00190    for( int i = 0; i < bp._size; i++ ) { os.put( bp._pt[i] ); }
00191 //#ifdef STORM_DEBUG
00192 //   cout << "bytepack:operator<<: ";
00193 //   for(i=0;i<bp._size;i++) { cout << int( (unsigned char)(bp._pt[i]) ); }
00194 //   cout << '\n';
00195 //#endif
00196    return os;
00197 };

istream& operator>> istream &  ,
bytepack
 

Definition at line 199 of file DCFbytepack.cpp.

References bytepack._pt, bytepack._size, and bytepack.read().

00199                                                    {
00200    for( int i = 0; i < bp._size; i++ ) { is.get( bp._pt[i] ); }
00201    bp._pt[ bp._size ] = 0;
00202    return is;
00203 };


Generated on Mon May 31 21:39:04 2004 for SR2k4 Assembler by doxygen 1.3.6