AstRawDark
Manage your astrophoto dark frames
 All Classes Functions Variables Enumerations Enumerator Pages
ImageInfo Class Reference

Image information. More...

#include <imageInfo.h>

Public Member Functions

 ImageInfo (const QString path)
 Constructor.
 ImageInfo ()
 Default constructor;.
 ImageInfo (const ImageInfo &info)
 Copy constructor.
const QString getPath () const
 Get image path.
const QString getMake () const
 Get camera manufacturer.
const QString getModel () const
 Get camera model.
int getExposure () const
 Get exposure time.
int getIso () const
 Get Sensor ISO.
const QString getDate () const
 Get Shoot date & time.
int getTemperature () const
 Get Sensor temperature.
const QString getCameraSerial () const
 Get camera serial number.
void setPath (const QString path)
 Set image path.
void setMake (const QString make)
 Set camera manufacturer.
void setModel (const QString model)
 Set camera model.
void setExposure (int exposure)
 Set exposure time.
void setIso (int iso)
 Set Sensor ISO.
void setDate (const QString date)
 Set Shoot date & time.
void setTemperature (const int temperature)
 Set Sensor temperature.
void setCameraSerial (const QString serial)
 Set camera serial number.

Static Public Attributes

static QString NOT_AVAILABLE = "N/A"
 Constant used to replace non-existant string values.
static const int UNDEFINED = -999
 Constant used to replace non-existant/invalid int values.

Protected Attributes

QString _path
 Image path.
QString _make
 Camera manufacturer.
QString _model
 Camera model.
QString _cameraSerial
 Camera serial number.
int _exposure
 Exposure time.
int _iso
 Sensor ISO.
QString _date
 Shoot date & time.
int _temperature
 Sensor temperature.

Detailed Description

Image information.

Definition at line 28 of file imageInfo.h.

Constructor & Destructor Documentation

ImageInfo::ImageInfo ( const QString  path)

Constructor.

Parameters
pathpath of the image we store info for

Definition at line 24 of file imageInfo.cpp.

ImageInfo::ImageInfo ( const ImageInfo info)

Copy constructor.

Parameters
infothe reference ImageInfo

Definition at line 48 of file imageInfo.cpp.

Member Function Documentation

const QString ImageInfo::getCameraSerial ( ) const
inline

Get camera serial number.

Returns
camera serial number

Definition at line 120 of file imageInfo.h.

Here is the caller graph for this function:

const QString ImageInfo::getDate ( ) const
inline

Get Shoot date & time.

Returns
Shoot date & time

Definition at line 108 of file imageInfo.h.

int ImageInfo::getExposure ( ) const
inline

Get exposure time.

Returns
exposure time

Definition at line 96 of file imageInfo.h.

Here is the caller graph for this function:

int ImageInfo::getIso ( ) const
inline

Get Sensor ISO.

Returns
Sensor ISO

Definition at line 102 of file imageInfo.h.

Here is the caller graph for this function:

const QString ImageInfo::getMake ( ) const
inline

Get camera manufacturer.

Returns
camera manufacturer

Definition at line 84 of file imageInfo.h.

const QString ImageInfo::getModel ( ) const
inline

Get camera model.

Returns
camera model

Definition at line 90 of file imageInfo.h.

const QString ImageInfo::getPath ( ) const
inline

Get image path.

Returns
image path

Definition at line 78 of file imageInfo.h.

Here is the caller graph for this function:

int ImageInfo::getTemperature ( ) const
inline

Get Sensor temperature.

Returns
Sensor temperature

Definition at line 114 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setCameraSerial ( const QString  serial)
inline

Set camera serial number.

Parameters
serialcamera serial number

Definition at line 168 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setDate ( const QString  date)
inline

Set Shoot date & time.

Parameters
dateShoot date & time

Definition at line 156 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setExposure ( int  exposure)
inline

Set exposure time.

Parameters
exposureexposure time

Definition at line 144 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setIso ( int  iso)
inline

Set Sensor ISO.

Parameters
isoSensor ISO

Definition at line 150 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setMake ( const QString  make)
inline

Set camera manufacturer.

Parameters
makecamera manufacturer

Definition at line 132 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setModel ( const QString  model)
inline

Set camera model.

Parameters
modelcamera model

Definition at line 138 of file imageInfo.h.

Here is the caller graph for this function:

void ImageInfo::setPath ( const QString  path)
inline

Set image path.

Parameters
pathimage path

Definition at line 126 of file imageInfo.h.

void ImageInfo::setTemperature ( const int  temperature)
inline

Set Sensor temperature.

Parameters
temperatureSensor temperature

Definition at line 162 of file imageInfo.h.

Here is the caller graph for this function:


The documentation for this class was generated from the following files: