DEIMOS
Earth Observation Mission CFI Software
EECommon Software User Manual
ESA

EECFI::CfiError Class Reference

Class to manage the CFI exceptions. More...

List of all members.

Public Member Functions

 CfiError ()
 Empty constructor.
 CfiError (InternalError const &ie)
 Constructor with an InternalError object as argument.
 CfiError (const CfiError &ce)
 Copy constructor.
 ~CfiError () NOEXCEPT
 Destructor.
long status () const
 Get the status value of CFI function.
void getCodes (std::vector< long > &codes, long &libCode, long &funCode) const
 Method to get the error codes.
std::vector< std::string > & getMsg (std::vector< std::string > &messages) const
 Method to get the error messages.
void addMsg (const std::string &msg)
 Add another messsage to the error list.

Detailed Description

Class to manage the CFI exceptions.

The exceptions thrown due to errors in the execution of all the CFI functions have to be catched using this class.


Constructor & Destructor Documentation

EECFI::CfiError::CfiError (  ) 

Empty constructor.

EECFI::CfiError::CfiError ( InternalError const &  ie  )  [explicit]

Constructor with an InternalError object as argument.

Parameters:
ie Pointer to InternalError.
EECFI::CfiError::CfiError ( const CfiError ce  ) 

Copy constructor.

Parameters:
ce CfiError object.
EECFI::CfiError::~CfiError (  ) 

Destructor.


Member Function Documentation

void EECFI::CfiError::addMsg ( const std::string &  msg  ) 

Add another messsage to the error list.

Parameters:
msg Vector where error messages will be stored.
void EECFI::CfiError::getCodes ( std::vector< long > &  codes,
long &  libCode,
long &  funCode 
) const

Method to get the error codes.

std::vector<std::string>& EECFI::CfiError::getMsg ( std::vector< std::string > &  messages  )  const

Method to get the error messages.

long EECFI::CfiError::status (  )  const

Get the status value of CFI function.

Returns:
Status value.

Generated on Fri May 29 2020 14:17:26 for by doxygen 1.7.1