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

image::ppm Namespace Reference

Portable Pixmap Loading/Saving Methods. More...


Functions

image_tload (const std::string &filename)
 Loads the PPM from the file filename. More...

image_tload (std::istream &stream)
 Loads the PPM from the stream filename. More...

bool can_load (const std::string &filename)
 Determines if filename is a loadable PPM. More...

bool can_load (std::istream &stream)
 Determines if filename is a loadable PPM. More...

image_tload_ascii_pgm (std::istream &stream)
image_tload_ascii_ppm (std::istream &stream)
image_tload_binary_pgm (std::istream &stream)
image_tload_binary_ppm (std::istream &stream)


Detailed Description

Portable Pixmap Loading/Saving Methods.

Function Documentation

bool image::ppm::can_load std::istream &    stream
 

Determines if filename is a loadable PPM.

Note:
The streams internal pointer will leave this function unchanged.
Returns:
true if filename can be loaded as a PPM.

Definition at line 77 of file ppm_image.cpp.

bool image::ppm::can_load const std::string &    filename
 

Determines if filename is a loadable PPM.

Returns:
true if filename can be loaded as a PPM.

Definition at line 56 of file ppm_image.cpp.

image::image_t * image::ppm::load std::istream &    stream
 

Loads the PPM from the stream filename.

Returns:
image_t* to the new image.

Definition at line 30 of file ppm_image.cpp.

image::image_t * image::ppm::load const std::string &    filename
 

Loads the PPM from the file filename.

Returns:
image_t* to the new image.

Definition at line 9 of file ppm_image.cpp.


Generated on Tue Feb 11 18:49:49 2003 for uber by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002