STLdoc
STLdocumentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Types | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
tr2::sys::basic_filesystem_error< _Path > Class Template Reference
Inheritance diagram for tr2::sys::basic_filesystem_error< _Path >:
system_error _System_error runtime_error

Public Types

typedef _Path path_type
 

Public Member Functions

 basic_filesystem_error (const string &_Message, error_code _Errcode=error_code())
 
 basic_filesystem_error (const string &_Message, const path_type _Pval1, error_code _Errcode)
 
 basic_filesystem_error (const string &_Message, const path_type _Pval1, const path_type _Pval2, error_code _Errcode)
 
virtual ~basic_filesystem_error () _NOEXCEPT
 
 basic_filesystem_error (basic_filesystem_error &&_Right)
 
basic_filesystem_erroroperator= (basic_filesystem_error &&_Right)
 
const path_typepath1 () const _THROW0()
 
const path_typepath2 () const _THROW0()
 
- Public Member Functions inherited from system_error
 system_error (error_code _Errcode)
 
 system_error (error_code _Errcode, const string &_Message)
 
 system_error (error_code _Errcode, const char *_Message)
 
 system_error (int _Errval, const error_category &_Errcat)
 
 system_error (int _Errval, const error_category &_Errcat, const string &_Message)
 
 system_error (int _Errval, const error_category &_Errcat, const char *_Message)
 
const error_codecode () const _NOEXCEPT
 
- Public Member Functions inherited from runtime_error
 runtime_error (const string &_Message)
 
 runtime_error (const char *_Message)
 

Protected Member Functions

virtual void _Doraise () const
 
- Protected Member Functions inherited from _System_error
 _System_error (error_code _Errcode, const string &_Message)
 

Private Attributes

path_type _Mypval1
 
path_type _Mypval2
 

Additional Inherited Members

- Protected Attributes inherited from _System_error
error_code _Mycode
 

Member Typedef Documentation

template<class _Path >
typedef _Path tr2::sys::basic_filesystem_error< _Path >::path_type

Constructor & Destructor Documentation

template<class _Path >
tr2::sys::basic_filesystem_error< _Path >::basic_filesystem_error ( const string _Message,
error_code  _Errcode = error_code() 
)
inlineexplicit
757  : system_error(_Errcode, _Message)
758  { // construct from message string and error code
759  }
system_error(error_code _Errcode)
Definition: system_error:497
template<class _Path >
tr2::sys::basic_filesystem_error< _Path >::basic_filesystem_error ( const string _Message,
const path_type  _Pval1,
error_code  _Errcode 
)
inline
764  : system_error(_Errcode, _Message),
765  _Mypval1(_Pval1)
766  { // construct from message string and error code
767  }
path_type _Mypval1
Definition: filesystem:818
system_error(error_code _Errcode)
Definition: system_error:497
template<class _Path >
tr2::sys::basic_filesystem_error< _Path >::basic_filesystem_error ( const string _Message,
const path_type  _Pval1,
const path_type  _Pval2,
error_code  _Errcode 
)
inline
773  : system_error(_Errcode, _Message),
774  _Mypval1(_Pval1), _Mypval2(_Pval2)
775  { // construct from message string and error code
776  }
path_type _Mypval2
Definition: filesystem:819
path_type _Mypval1
Definition: filesystem:818
system_error(error_code _Errcode)
Definition: system_error:497
template<class _Path >
virtual tr2::sys::basic_filesystem_error< _Path >::~basic_filesystem_error ( )
inlinevirtual
779  { // destroy the object
780  }
template<class _Path >
tr2::sys::basic_filesystem_error< _Path >::basic_filesystem_error ( basic_filesystem_error< _Path > &&  _Right)
inline
783  : system_error(_Right.code(), _Right.what()),
784  _Mypval1(_STD move(_Right._Mypval1)),
785  _Mypval2(_STD move(_Right._Mypval2))
786  { // move construct
787  }
path_type _Mypval2
Definition: filesystem:819
_OutIt move(_InIt _First, _InIt _Last, _OutIt _Dest)
Definition: xutility:2447
path_type _Mypval1
Definition: filesystem:818
system_error(error_code _Errcode)
Definition: system_error:497
const _Ty & _Right
Definition: algorithm:4087

Member Function Documentation

template<class _Path >
virtual void tr2::sys::basic_filesystem_error< _Path >::_Doraise ( ) const
inlineprotectedvirtual

Reimplemented from system_error.

812  { // perform class-specific exception handling
813  _RAISE(*this);
814  }
#define _RAISE(x)
Definition: xstddef:70
template<class _Path >
basic_filesystem_error& tr2::sys::basic_filesystem_error< _Path >::operator= ( basic_filesystem_error< _Path > &&  _Right)
inline
790  { // move assign
791  *((system_error *)this) = *(system_error *)&_Right;
792  _Mypval1 = _STD move(_Right._Mypval1);
793  _Mypval2 = _STD move(_Right._Mypval2);
794  return (*this);
795  }
path_type _Mypval2
Definition: filesystem:819
_OutIt move(_InIt _First, _InIt _Last, _OutIt _Dest)
Definition: xutility:2447
Definition: system_error:490
path_type _Mypval1
Definition: filesystem:818
const _Ty & _Right
Definition: algorithm:4087
template<class _Path >
const path_type& tr2::sys::basic_filesystem_error< _Path >::path1 ( ) const
inline
798  { // return stored first path
799  return (_Mypval1);
800  }
path_type _Mypval1
Definition: filesystem:818
template<class _Path >
const path_type& tr2::sys::basic_filesystem_error< _Path >::path2 ( ) const
inline
803  { // return stored second path
804  return (_Mypval2);
805  }
path_type _Mypval2
Definition: filesystem:819

Member Data Documentation

template<class _Path >
path_type tr2::sys::basic_filesystem_error< _Path >::_Mypval1
private
template<class _Path >
path_type tr2::sys::basic_filesystem_error< _Path >::_Mypval2
private

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