OCCT 8.0.1
OCCT documentation

Search guides and API reference

Enter at least two characters.

    Open CASCADE Technology Reference Manual 8.0.1
    OSD_Error Class Reference

    Accurate management of OSD specific errors. More...

    #include <OSD_Error.hxx>

    Public Member Functions

     OSD_Error ()
     Initializes Error to be without any Error. This is only used by OSD, not by programmer.
    void Perror ()
     Raises OSD_Error with accurate error message.
    void SetValue (const int Errcode, const int From, const TCollection_AsciiString &Message)
     Instantiates error This is only used by OSD methods to instantiates an error code. No description is done for the programmer.
    int Error () const
     Returns an accurate error code. To test these values, you must include "OSD_ErrorList.hxx".
    bool Failed () const
     Returns TRUE if an error occurs This is a way to test if a system call succeeded or not.
    void Reset ()
     Resets error counter to zero This allows the user to ignore an error (WARNING).

    Detailed Description

    Accurate management of OSD specific errors.

    Constructor & Destructor Documentation

    ◆ OSD_Error()

    OSD_Error::OSD_Error ( )

    Initializes Error to be without any Error. This is only used by OSD, not by programmer.

    Member Function Documentation

    ◆ Error()

    int OSD_Error::Error ( ) const

    Returns an accurate error code. To test these values, you must include "OSD_ErrorList.hxx".

    ◆ Failed()

    bool OSD_Error::Failed ( ) const

    Returns TRUE if an error occurs This is a way to test if a system call succeeded or not.

    ◆ Perror()

    void OSD_Error::Perror ( )

    Raises OSD_Error with accurate error message.

    ◆ Reset()

    void OSD_Error::Reset ( )

    Resets error counter to zero This allows the user to ignore an error (WARNING).

    ◆ SetValue()

    void OSD_Error::SetValue ( const int Errcode,
    const int From,
    const TCollection_AsciiString & Message )

    Instantiates error This is only used by OSD methods to instantiates an error code. No description is done for the programmer.


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