IoErrorInterface Class Reference

#include <iostreams.h>

Inheritance diagram for IoErrorInterface:

Detailed Description

Error of the category I/O.

Public Member Functions

 MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS (protected:void Create(MAXON_SOURCE_LOCATION_DECLARATION) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, const Url &url, const String &msg, const Error &cause=GetPtrSizedZeroRef< Error >()) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetUrl(url);e.SetMessage(msg);e.SetCause(cause);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, const Url &url, const Error &cause) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetUrl(url);e.SetCause(cause);})
 
MAXON_METHOD void SetUrl (const Url &url)
 
MAXON_METHOD const UrlGetUrl () const
 

Private Member Functions

 MAXON_INTERFACE (IoErrorInterface, MAXON_REFERENCE_COPY_ON_WRITE, "net.maxon.interface.ioerror")
 

Member Function Documentation

◆ MAXON_INTERFACE()

MAXON_INTERFACE ( IoErrorInterface  ,
MAXON_REFERENCE_COPY_ON_WRITE  ,
"net.maxon.interface.ioerror"   
)
private

◆ MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS()

MAXON_ADD_TO_COPY_ON_WRITE_REFERENCE_CLASS ( protected:void Create(MAXON_SOURCE_LOCATION_DECLARATION) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, const Url &url, const String &msg, const Error &cause=GetPtrSizedZeroRef< Error >()) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetUrl(url);e.SetMessage(msg);e.SetCause(cause);} void Create(MAXON_SOURCE_LOCATION_DECLARATION, const Url &url, const Error &cause) { *static_cast< typename S::DirectlyReferencedType::Hxx1::ReferenceClass * >(this)=S::DirectlyReferencedType::Hxx1::ErrObj::GetInstance()();typename S::DirectlyReferencedType::Ptr e=this->MakeWritable(false).GetPointer();e.SetLocation(MAXON_SOURCE_LOCATION_FORWARD);e.SetUrl(url);e.SetCause(cause);}  )

◆ SetUrl()

MAXON_METHOD void SetUrl ( const Url url)

SetUrl allows to set the corresponding url.

Parameters
[in]urlUrl to set.

◆ GetUrl()

MAXON_METHOD const Url& GetUrl ( ) const

Returns the corresponding url.

Returns
The url stored in the Error.