1 // Created on: 1999-08-11
2 // Created by: Roman LYGIN
3 // Copyright (c) 1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _TransferBRep_TransferResultInfo_HeaderFile
18 #define _TransferBRep_TransferResultInfo_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
23 #include <Standard_Integer.hxx>
24 #include <Standard_Transient.hxx>
27 class TransferBRep_TransferResultInfo;
28 DEFINE_STANDARD_HANDLE(TransferBRep_TransferResultInfo, Standard_Transient)
30 //! Data structure for storing information on transfer result.
31 //! At the moment it dispatches information for the following types:
33 //! - result + warning(s),
34 //! - result + fail(s),
35 //! - result + warning(s) + fail(s)
37 //! - no result + warning(s),
38 //! - no result + fail(s),
39 //! - no result + warning(s) + fail(s),
40 class TransferBRep_TransferResultInfo : public Standard_Transient
46 //! Creates object with all fields nullified.
47 Standard_EXPORT TransferBRep_TransferResultInfo();
49 //! Resets all the fields.
50 Standard_EXPORT void Clear();
52 Standard_Integer& Result();
54 Standard_Integer& ResultWarning();
56 Standard_Integer& ResultFail();
58 Standard_Integer& ResultWarningFail();
60 Standard_Integer& NoResult();
62 Standard_Integer& NoResultWarning();
64 Standard_Integer& NoResultFail();
66 Standard_Integer& NoResultWarningFail();
71 DEFINE_STANDARD_RTTIEXT(TransferBRep_TransferResultInfo,Standard_Transient)
82 Standard_Integer myRW;
83 Standard_Integer myRF;
84 Standard_Integer myRWF;
85 Standard_Integer myNR;
86 Standard_Integer myNRW;
87 Standard_Integer myNRF;
88 Standard_Integer myNRWF;
94 #include <TransferBRep_TransferResultInfo.lxx>
100 #endif // _TransferBRep_TransferResultInfo_HeaderFile