Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-22 08:59:52

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 //! Data structure for storing information on transfer result.
0027 //! At the moment it dispatches information for the following types:
0028 //! - result,
0029 //! - result + warning(s),
0030 //! - result + fail(s),
0031 //! - result + warning(s) + fail(s)
0032 //! - no result,
0033 //! - no result + warning(s),
0034 //! - no result + fail(s),
0035 //! - no result + warning(s) + fail(s),
0036 class TransferBRep_TransferResultInfo : public Standard_Transient
0037 {
0038 
0039 public:
0040   //! Creates object with all fields nullified.
0041   Standard_EXPORT TransferBRep_TransferResultInfo();
0042 
0043   //! Resets all the fields.
0044   Standard_EXPORT void Clear();
0045 
0046   int& Result();
0047 
0048   int& ResultWarning();
0049 
0050   int& ResultFail();
0051 
0052   int& ResultWarningFail();
0053 
0054   int& NoResult();
0055 
0056   int& NoResultWarning();
0057 
0058   int& NoResultFail();
0059 
0060   int& NoResultWarningFail();
0061 
0062   DEFINE_STANDARD_RTTIEXT(TransferBRep_TransferResultInfo, Standard_Transient)
0063 
0064 private:
0065   int myR;
0066   int myRW;
0067   int myRF;
0068   int myRWF;
0069   int myNR;
0070   int myNRW;
0071   int myNRF;
0072   int myNRWF;
0073 };
0074 
0075 #include <TransferBRep_TransferResultInfo.lxx>
0076 
0077 #endif // _TransferBRep_TransferResultInfo_HeaderFile