ImageSet Class Reference
[Classes of the ODIN data processing framework (odindata library)]

#include <image.h>

Inheritance diagram for ImageSet:

Inheritance graph
[legend]
Collaboration diagram for ImageSet:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ImageSet (const STD_string &label="unnamedImageSet")
 ImageSet (const Image &is)
 ImageSet (const Sample &smp)
ImageSetoperator= (const ImageSet &is)
ImageSetappend_image (const Image &img)
ImageSetclear_images ()
int get_numof_images () const
Imageget_image (unsigned int index=0)
int load (const STD_string &filename)

Detailed Description

Class to hold a whole list of Image's

Definition at line 109 of file image.h.


Constructor & Destructor Documentation

ImageSet::ImageSet ( const STD_string &  label = "unnamedImageSet"  ) 

Default constructor

ImageSet::ImageSet ( const Image is  )  [inline]

Copy constructor

Definition at line 121 of file image.h.

ImageSet::ImageSet ( const Sample smp  ) 

Create image set from a sample file


Member Function Documentation

ImageSet& ImageSet::operator= ( const ImageSet is  ) 

Assignment operator

ImageSet& ImageSet::append_image ( const Image img  ) 

Append another image to the set

ImageSet& ImageSet::clear_images (  ) 

Clear the list of images in this set

int ImageSet::get_numof_images (  )  const [inline]

Returns the number of images in this set

Definition at line 149 of file image.h.

Image& ImageSet::get_image ( unsigned int  index = 0  ) 

Returns reference to the image at position 'index'

int ImageSet::load ( const STD_string &  filename  )  [virtual]

Loads the parameter(s) from a JCAMP-DX file. In case of calling this function of a single paramter, the file is searched for this parameter and the value is assigned. In case of a parameter block, all parameter values are taken from the file. The return value is the number of parameters which are successfully parsed. If an error occurs, -1 is returned.

Reimplemented from JcampDxBlock.


The documentation for this class was generated from the following file:
Generated on Sat Jun 14 12:31:35 2008 by  doxygen 1.5.1