#include <image.h>
Inheritance diagram for ImageSet:


Public Member Functions | |
| ImageSet (const STD_string &label="unnamedImageSet") | |
| ImageSet (const Image &is) | |
| ImageSet (const Sample &smp) | |
| ImageSet & | operator= (const ImageSet &is) |
| ImageSet & | append_image (const Image &img) |
| ImageSet & | clear_images () |
| int | get_numof_images () const |
| Image & | get_image (unsigned int index=0) |
| int | load (const STD_string &filename) |
Definition at line 109 of file image.h.
| ImageSet::ImageSet | ( | const STD_string & | label = "unnamedImageSet" |
) |
Default constructor
| ImageSet::ImageSet | ( | const Image & | is | ) | [inline] |
| ImageSet::ImageSet | ( | const Sample & | smp | ) |
Create image set from a sample file
| ImageSet& ImageSet::clear_images | ( | ) |
Clear the list of images in this set
| int ImageSet::get_numof_images | ( | ) | const [inline] |
| 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.
1.5.1