Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:29

0001 // Created on: 1999-08-11
0002 // Created by: Roman LYGIN
0003 // Copyright (c) 1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TransferBRep_TransferResultInfo_HeaderFile
0018 #define _TransferBRep_TransferResultInfo_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <Standard_Integer.hxx>
0024 #include <Standard_Transient.hxx>
0025 
0026 
0027 class TransferBRep_TransferResultInfo;
0028 DEFINE_STANDARD_HANDLE(TransferBRep_TransferResultInfo, Standard_Transient)
0029 
0030 //! Data structure for storing information on transfer result.
0031 //! At the moment it dispatches information for the following types:
0032 //! - result,
0033 //! - result + warning(s),
0034 //! - result + fail(s),
0035 //! - result + warning(s) + fail(s)
0036 //! - no result,
0037 //! - no result + warning(s),
0038 //! - no result + fail(s),
0039 //! - no result + warning(s) + fail(s),
0040 class TransferBRep_TransferResultInfo : public Standard_Transient
0041 {
0042 
0043 public:
0044 
0045   
0046   //! Creates object with all fields nullified.
0047   Standard_EXPORT TransferBRep_TransferResultInfo();
0048   
0049   //! Resets all the fields.
0050   Standard_EXPORT void Clear();
0051   
0052     Standard_Integer& Result();
0053   
0054     Standard_Integer& ResultWarning();
0055   
0056     Standard_Integer& ResultFail();
0057   
0058     Standard_Integer& ResultWarningFail();
0059   
0060     Standard_Integer& NoResult();
0061   
0062     Standard_Integer& NoResultWarning();
0063   
0064     Standard_Integer& NoResultFail();
0065   
0066     Standard_Integer& NoResultWarningFail();
0067 
0068 
0069 
0070 
0071   DEFINE_STANDARD_RTTIEXT(TransferBRep_TransferResultInfo,Standard_Transient)
0072 
0073 protected:
0074 
0075 
0076 
0077 
0078 private:
0079 
0080 
0081   Standard_Integer myR;
0082   Standard_Integer myRW;
0083   Standard_Integer myRF;
0084   Standard_Integer myRWF;
0085   Standard_Integer myNR;
0086   Standard_Integer myNRW;
0087   Standard_Integer myNRF;
0088   Standard_Integer myNRWF;
0089 
0090 
0091 };
0092 
0093 
0094 #include <TransferBRep_TransferResultInfo.lxx>
0095 
0096 
0097 
0098 
0099 
0100 #endif // _TransferBRep_TransferResultInfo_HeaderFile