foobar2000 SDK  2015-08-03
Public Member Functions | Private Member Functions | Private Attributes
pfc::exception_nix

#include <nix-objects.h>

+ Inheritance diagram for pfc::exception_nix:

Public Member Functions

 exception_nix ()
 
 exception_nix (int code)
 
 ~exception_nix () throw ()
 
int code () const throw ()
 
const char * what () const throw ()
 

Private Member Functions

void _init (int code)
 

Private Attributes

int m_code
 
string8 m_msg
 

Detailed Description

Definition at line 9 of file nix-objects.h.

Constructor & Destructor Documentation

pfc::exception_nix::exception_nix ( )

Definition at line 53 of file nix-objects.cpp.

53  {
54  _init(errno);
55  }
void _init(int code)
Definition: nix-objects.cpp:59
pfc::exception_nix::exception_nix ( int  code)

Definition at line 56 of file nix-objects.cpp.

56  {
57  _init(code);
58  }
void _init(int code)
Definition: nix-objects.cpp:59
int code() const
Definition: nix-objects.h:16
pfc::exception_nix::~exception_nix ( )
throw (
)
inline

Definition at line 14 of file nix-objects.h.

14 { }

Member Function Documentation

void pfc::exception_nix::_init ( int  code)
private

Definition at line 59 of file nix-objects.cpp.

59  {
60  m_code = code;
62  }
void nixFormatError(string_base &str, int code)
Definition: nix-objects.cpp:15
int code() const
Definition: nix-objects.h:16
int pfc::exception_nix::code ( ) const
throw (
)
inline

Definition at line 16 of file nix-objects.h.

16 {return m_code;}
const char* pfc::exception_nix::what ( ) const
throw (
)
inline

Definition at line 17 of file nix-objects.h.

17 {return m_msg.get_ptr();}
const char * get_ptr() const
Definition: string_base.h:382

Field Documentation

int pfc::exception_nix::m_code
private

Definition at line 20 of file nix-objects.h.

string8 pfc::exception_nix::m_msg
private

Definition at line 21 of file nix-objects.h.


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