LLVM API Documentation

Public Types | Public Member Functions | Static Public Member Functions
llvm::error_code Class Reference

#include <system_error.h>

List of all members.

Public Types

typedef void(* unspecified_bool_type )()

Public Member Functions

 error_code ()
 error_code (int _val, const error_category &_cat)
template<class E >
 error_code (E _e, typename std::enable_if< is_error_code_enum< E >::value >::type *=0)
void assign (int _val, const error_category &_cat)
template<class E >
< is_error_code_enum< E >
::value, error_code & >::type 
operator= (E _e)
void clear ()
int value () const
const error_categorycategory () const
error_condition default_error_condition () const
std::string message () const
 operator unspecified_bool_type () const

Static Public Member Functions

static error_code success ()
static void unspecified_bool_true ()

Detailed Description

Definition at line 724 of file system_error.h.

Member Typedef Documentation

Definition at line 770 of file system_error.h.

Constructor & Destructor Documentation

Definition at line 728 of file system_error.h.

Referenced by success().

llvm::error_code::error_code ( int  _val,
const error_category _cat 
) [inline]

Definition at line 734 of file system_error.h.

template<class E >
llvm::error_code::error_code ( _e,
typename std::enable_if< is_error_code_enum< E >::value >::type *  = 0 
) [inline]

Definition at line 738 of file system_error.h.

References llvm::make_error_code().

Member Function Documentation

void llvm::error_code::assign ( int  _val,
const error_category _cat 
) [inline]

Definition at line 744 of file system_error.h.

void llvm::error_code::clear ( ) [inline]

Definition at line 756 of file system_error.h.

References llvm::system_category().

Definition at line 765 of file system_error.h.

References llvm::error_category::default_error_condition().

std::string llvm::error_code::message ( ) const
llvm::error_code::operator unspecified_bool_type ( ) const [inline]

Definition at line 773 of file system_error.h.

References unspecified_bool_true().

template<class E >
std::enable_if<is_error_code_enum<E>::value, error_code &>::type llvm::error_code::operator= ( _e) [inline]

Definition at line 751 of file system_error.h.

References llvm::make_error_code().

static error_code llvm::error_code::success ( ) [inline, static]
static void llvm::error_code::unspecified_bool_true ( ) [inline, static]

Definition at line 771 of file system_error.h.

Referenced by operator unspecified_bool_type().

int llvm::error_code::value ( ) const [inline]

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