| Earth Observation Mission CFI Software EECommon Software User Manual |

Public Member Functions | Protected Attributes

# EECFI::CfiClass Class Reference

Base class for all CFI classes. More...

Inheritance diagram for EECFI::CfiClass:

List of all members.

## Public Member Functions
| CfiClass ()
| Class constructor.
| ~CfiClass ()
| Class destructor.
void | setWarning ()
| Set throwWarning flag to true.
void | resetWarning ()
| Set thowWarning flag to false.
## Protected Attributes
bool | throwWarn
| Flag that indicates if warnings are thrown as exceptions.

## Detailed Description

Base class for all CFI classes.

Its only attibute, throwWarn, indicates if the warning messages are thrown as exceptions.
throwWarn is initialized to false in the constructor, and its value can be changed with two methods:

- setWarning: sets throwWarning to true
- resetWarning: sets throwWarning to false

## Constructor & Destructor Documentation

EECFI::CfiClass::CfiClass | ( |  | ) |

Class constructor.

References throwWarn.

EECFI::CfiClass::~CfiClass | ( |  | ) |

Class destructor.

## Member Function Documentation

void EECFI::CfiClass::resetWarning | ( |  | ) |

Set thowWarning flag to false.

References throwWarn.

void EECFI::CfiClass::setWarning | ( |  | ) |

Set throwWarning flag to true.

References throwWarn.

## Member Data Documentation

bool EECFI::CfiClass::throwWarn`[protected]`

Flag that indicates if warnings are thrown as exceptions.

Referenced by CfiClass(), resetWarning(), and setWarning().