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

DCFbytepack.cpp File Reference

#include <iostream.h>
#include <string.h>
#include <algorithm.h>
#include "DCFbytepack.h"

Include dependency graph for DCFbytepack.cpp:

Include dependency graph

Go to the source code of this file.

Functions

ostream & operator<< (ostream &os, bytepack &bp)
istream & operator>> (istream &is, bytepack &bp)


Function Documentation

ostream& operator<< ostream &  os,
bytepack bp
 

Definition at line 189 of file DCFbytepack.cpp.

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 &  is,
bytepack bp
 

Definition at line 199 of file DCFbytepack.cpp.

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:03 2004 for SR2k4 Assembler by doxygen 1.3.6