0029915: Porting to VC 2017 : Regressions in Modeling Algorithms on VC 2017
[occt.git] / src / TransferBRep / TransferBRep_TransferResultInfo.hxx
CommitLineData
42cf5bc1 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
5//
6// This file is part of Open CASCADE Technology software library.
7//
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.
13//
14// Alternatively, this file may be used under the terms of Open CASCADE
15// commercial license or contractual agreement.
16
17#ifndef _TransferBRep_TransferResultInfo_HeaderFile
18#define _TransferBRep_TransferResultInfo_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <Standard_Integer.hxx>
25e59720 24#include <Standard_Transient.hxx>
42cf5bc1 25
26
27class TransferBRep_TransferResultInfo;
25e59720 28DEFINE_STANDARD_HANDLE(TransferBRep_TransferResultInfo, Standard_Transient)
42cf5bc1 29
30//! Data structure for storing information on transfer result.
31//! At the moment it dispatches information for the following types:
32//! - result,
33//! - result + warning(s),
34//! - result + fail(s),
35//! - result + warning(s) + fail(s)
36//! - no result,
37//! - no result + warning(s),
38//! - no result + fail(s),
39//! - no result + warning(s) + fail(s),
25e59720 40class TransferBRep_TransferResultInfo : public Standard_Transient
42cf5bc1 41{
42
43public:
44
45
46 //! Creates object with all fields nullified.
47 Standard_EXPORT TransferBRep_TransferResultInfo();
48
49 //! Resets all the fields.
50 Standard_EXPORT void Clear();
51
52 Standard_Integer& Result();
53
54 Standard_Integer& ResultWarning();
55
56 Standard_Integer& ResultFail();
57
58 Standard_Integer& ResultWarningFail();
59
60 Standard_Integer& NoResult();
61
62 Standard_Integer& NoResultWarning();
63
64 Standard_Integer& NoResultFail();
65
66 Standard_Integer& NoResultWarningFail();
67
68
69
70
25e59720 71 DEFINE_STANDARD_RTTIEXT(TransferBRep_TransferResultInfo,Standard_Transient)
42cf5bc1 72
73protected:
74
75
76
77
78private:
79
80
81 Standard_Integer myR;
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;
89
90
91};
92
93
94#include <TransferBRep_TransferResultInfo.lxx>
95
96
97
98
99
100#endif // _TransferBRep_TransferResultInfo_HeaderFile