MOS Source Code
Loading...
Searching...
No Matches
PtrResultBase Struct Reference

#include <types.hpp>

Inheritance diagram for PtrResultBase:

Public Member Functions

virtual bool isErr () const final
virtual long getErr () const final
 operator bool () const

Protected Member Functions

 PtrResultBase ()
 PtrResultBase (int errorCode)

Protected Attributes

const int errorCode

Detailed Description

Definition at line 47 of file types.hpp.

Constructor & Destructor Documentation

◆ PtrResultBase() [1/2]

◆ PtrResultBase() [2/2]

PtrResultBase ( int errorCode)
inlineprotected

Definition at line 53 of file types.hpp.

Member Function Documentation

◆ isErr()

virtual bool isErr ( ) const
inlinefinalvirtual

◆ getErr()

virtual long getErr ( ) const
inlinefinalvirtual

Definition at line 61 of file types.hpp.

Referenced by MOS_TEST_DECL_PTEST(), and PtrResult< T >::PtrResult().

◆ operator bool()

operator bool ( ) const
inlineexplicit

Definition at line 66 of file types.hpp.

Here is the call graph for this function:

Member Data Documentation

◆ errorCode


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