IoErrorInterface Class Reference IO

#include <iostreams.h>

Inheritance diagram for IoErrorInterface:

详细描述

Error of the category I/O.

公共成员函数

  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)
const MAXON_METHOD Url GetUrl () const

私有成员函数

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

成员函数文档编制

◆  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.

参数
[in] url Url to set.

◆  GetUrl()

const MAXON_METHOD Url & GetUrl ( ) const

Returns the corresponding url.

返回
The url stored in the Error.