Hosting courtesy of Sourceforge

SourceForge Logo
Main Page   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

Graphics::ReadImage Class Reference

#include <draw.h>

Inheritance diagram for Graphics::ReadImage:

Inheritance graph
[legend]
Collaboration diagram for Graphics::ReadImage:

Collaboration graph
[legend]
List of all members.

Public Methods

 ReadImage (AbstractImage *&imgPointer)
virtual void getValue (std::istream &input)

Detailed Description

ParseAction for reading images

NOTE: unlike most other ParseAction, this modifies a pointer rather than direct value.

Definition at line 135 of file draw.h.


Constructor & Destructor Documentation

ReadImage::ReadImage AbstractImage *&    imgPointer
 

Constructs a ReadImage object

Parameters:
imgPointer  AbstractImage* taken by reference. It shouldn't be the sole pointer to important data, as it is likely to be changed

Definition at line 184 of file draw.cpp.


Member Function Documentation

void ReadImage::getValue std::istream &    input [virtual]
 

Allocates a new AbstractImage, and points the pointer passed in the ctor to it

Reimplemented from Parse::ParseAction.

Definition at line 188 of file draw.cpp.


Member Data Documentation

AbstractImage*& Graphics::ReadImage::imgPointerRef [protected]
 

Definition at line 146 of file draw.h.


The documentation for this class was generated from the following files:
Generated on Tue May 21 07:26:55 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001