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

panda/src/pnmimagetypes/pnmFileTypeIMG.cxx File Reference

#include "pnmFileTypeIMG.h"
#include "config_pnmimagetypes.h"
#include "pnmFileTypeRegistry.h"
#include "bamReader.h"

Go to the source code of this file.

Defines

#define INSANE_SIZE   20000

Functions

unsigned long read_ulong (istream *file)
unsigned short read_ushort_IMG (istream *file)
unsigned char read_uchar_IMG (istream *file)
void write_ulong (ostream *file, unsigned long x)
void write_ushort_IMG (ostream *file, unsigned long x)
void write_uchar_IMG (ostream *file, unsigned char x)

Variables

const char *const extensions_img []
const int num_extensions_img = sizeof(extensions_img) / sizeof(const char *)


Detailed Description

Definition in file pnmFileTypeIMG.cxx.


Define Documentation

#define INSANE_SIZE   20000
 

Definition at line 31 of file pnmFileTypeIMG.cxx.


Function Documentation

unsigned char read_uchar_IMG istream *  file  )  [inline]
 

Definition at line 164 of file pnmFileTypeIMG.cxx.

unsigned long read_ulong istream *  file  )  [inline]
 

Definition at line 152 of file pnmFileTypeIMG.cxx.

unsigned short read_ushort_IMG istream *  file  )  [inline]
 

Definition at line 158 of file pnmFileTypeIMG.cxx.

References IHT_long, and img_header_type.

void write_uchar_IMG ostream *  file,
unsigned char  x
[inline]
 

Definition at line 181 of file pnmFileTypeIMG.cxx.

Referenced by PNMFileTypeIMG::Writer::Writer().

void write_ulong ostream *  file,
unsigned long  x
[inline]
 

Definition at line 171 of file pnmFileTypeIMG.cxx.

Referenced by PNMFileTypeIMG::Reader::read_row().

void write_ushort_IMG ostream *  file,
unsigned long  x
[inline]
 

Definition at line 176 of file pnmFileTypeIMG.cxx.

Referenced by PNMFileTypeIMG::Reader::read_row().


Variable Documentation

const char* const extensions_img[] [static]
 

Initial value:

 {
  "img"
}

Definition at line 33 of file pnmFileTypeIMG.cxx.

Referenced by PNMFileTypeIMG::get_num_extensions().

const int num_extensions_img = sizeof(extensions_img) / sizeof(const char *) [static]
 

Definition at line 36 of file pnmFileTypeIMG.cxx.

Referenced by PNMFileTypeIMG::get_name(), and PNMFileTypeIMG::get_num_extensions().


Generated on Fri May 2 00:46:07 2003 for Panda by doxygen1.3