foobar2000 SDK  2015-01-14
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 8 of file nix-objects.h.

Constructor & Destructor Documentation

pfc::exception_nix::exception_nix ( )

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

51  {
52  _init(errno);
53  }
void _init(int code)
Definition: nix-objects.cpp:57
pfc::exception_nix::exception_nix ( int  code)

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

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

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

13 { }

Member Function Documentation

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

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

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

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

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

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

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

Field Documentation

int pfc::exception_nix::m_code
private

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

string8 pfc::exception_nix::m_msg
private

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


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