Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

SuifCompatibleHeaders Class Reference

This class helps to waste some space at the beginning of an file written out to disk in order to allow suif1 passes to recognize that this file format is not supported. More...

List of all members.

Static Public Methods

String get_SUIF_magic_word ()
String get_SUIF_version ()
String get_SUIF_system ()
void write_string (ostream &outputFile, const String &str)
void write_chunk (ostream &outputFile, String chunk)
String read_chunk (istream &inputFile, size_t len)
void write_header (ostream &outputFile)
size_t get_padded_size (size_t size)
String read_string (istream &inputFile)
bool read_header (istream &inputFile)


Detailed Description

This class helps to waste some space at the beginning of an file written out to disk in order to allow suif1 passes to recognize that this file format is not supported.

In addition, it checks to see that the file is a suif version 2 file and gives nice error messages if the user tries to read a SUIF1 file.


Member Function Documentation

String SuifCompatibleHeaders::get_SUIF_magic_word () [inline, static]

String SuifCompatibleHeaders::get_SUIF_system () [inline, static]

String SuifCompatibleHeaders::get_SUIF_version () [inline, static]

size_t SuifCompatibleHeaders::get_padded_size ( size_t size) [inline, static]

String SuifCompatibleHeaders::read_chunk ( istream & inputFile,
size_t len) [inline, static]

bool SuifCompatibleHeaders::read_header ( istream & inputFile) [inline, static]

String SuifCompatibleHeaders::read_string ( istream & inputFile) [inline, static]

void SuifCompatibleHeaders::write_chunk ( ostream & outputFile,
String chunk) [inline, static]

void SuifCompatibleHeaders::write_header ( ostream & outputFile) [inline, static]

void SuifCompatibleHeaders::write_string ( ostream & outputFile,
const String & str) [inline, static]


The documentation for this class was generated from the following file:
Generated at Mon Jul 31 13:44:39 2000 for NCI SUIF by doxygen 1.1.2 written by Dimitri van Heesch, © 1997-2000