1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70
|
// File generated by CPPExt (Exception)
//
// Copyright (C) 1991 - 2000 by
// Matra Datavision SA. All rights reserved.
//
// Copyright (C) 2001 - 2004 by
// Open CASCADE SA. All rights reserved.
//
// This file is part of the Open CASCADE Technology software.
//
// This software may be distributed and/or modified under the terms and
// conditions of the Open CASCADE Public License as defined by Open CASCADE SA
// and appearing in the file LICENSE included in the packaging of this file.
//
// This software is distributed on an "AS IS" basis, without warranty of any
// kind, and Open CASCADE SA hereby disclaims all such warranties,
// including without limitation, any warranties of merchantability, fitness
// for a particular purpose or non-infringement. Please see the License for
// the specific terms and conditions governing rights and limitations under the
// License.
#ifndef _Storage_StreamReadError_HeaderFile
#define _Storage_StreamReadError_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_Storage_StreamReadError_HeaderFile
#include <Handle_Storage_StreamReadError.hxx>
#endif
#ifndef _Standard_SStream_HeaderFile
#include <Standard_SStream.hxx>
#endif
#ifndef _Standard_Failure_HeaderFile
#include <Standard_Failure.hxx>
#endif
#if !defined No_Exception && !defined No_Storage_StreamReadError
#define Storage_StreamReadError_Raise_if(CONDITION,MESSAGE) \
if (CONDITION) Storage_StreamReadError::Raise(MESSAGE);
#else
#define Storage_StreamReadError_Raise_if(CONDITION,MESSAGE)
#endif
class Storage_StreamReadError : public Standard_Failure {
#ifndef NO_CXX_EXCEPTION
Standard_EXPORT virtual void Throw() const;
#endif
public:
Standard_EXPORT Storage_StreamReadError():Standard_Failure(){}
Standard_EXPORT Storage_StreamReadError(const Standard_CString AString):Standard_Failure(AString){}
Standard_EXPORT static void Raise(const Standard_CString aMessage = "");
Standard_EXPORT static void Raise(Standard_SStream& aReason);
Standard_EXPORT static Handle(Storage_StreamReadError) NewInstance(const Standard_CString aMessage);
// Standard_EXPORT ~Storage_StreamReadError();
// Type methods
//
Standard_EXPORT friend Handle_Standard_Type& Storage_StreamReadError_Type_();
Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
// Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
};
#endif
|