Static Public Member Functions

Celartem::Error Struct Reference

#include <cel_errutil.h>

List of all members.

Static Public Member Functions

static GeneralErrorDefinition errorFromOSError ()
static GeneralErrorDefinition errorFromErrno ()
static String stringFromOSError ()
static String stringFromErrno ()

Detailed Description

OS dependent error -> Library error code conversion.


Member Function Documentation

static GeneralErrorDefinition Celartem::Error::errorFromErrno (  )  [static]

This function converts std::errno into the library defined error code defined in cel_error.h .

Returns:
The error code corresponding to std::errno .
static GeneralErrorDefinition Celartem::Error::errorFromOSError (  )  [static]

This function converts the OS's current error status into the library defined error code defined in cel_error.h .

Returns:
The error code that stands for the current status.
static String Celartem::Error::stringFromErrno (  )  [static]

This function returns the string that is mapped to the current std::errno value.

Returns:
The string that represents the error.
static String Celartem::Error::stringFromOSError (  )  [static]

This function returns the string that is mapped to the current error status.

Returns:
The string that represents the error.

The documentation for this struct was generated from the following file:

This document is made with doxygen 1.7.1 at Sun Sep 5 2010 13:03:37.
Caminova Logo