0026912: CLang 3.6.2 compiler warning [-Winconsistent-missing-override]
[occt.git] / src / ProjLib / ProjLib_HCompProjectedCurve.hxx
CommitLineData
42cf5bc1 1// Created on: 1993-08-11
2// Created by: Bruno DUMORTIER
3// Copyright (c) 1993-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 _ProjLib_HCompProjectedCurve_HeaderFile
18#define _ProjLib_HCompProjectedCurve_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_Type.hxx>
22
23#include <ProjLib_CompProjectedCurve.hxx>
24#include <Adaptor2d_HCurve2d.hxx>
25class Standard_OutOfRange;
26class Standard_NoSuchObject;
27class Standard_DomainError;
28class ProjLib_CompProjectedCurve;
29class Adaptor2d_Curve2d;
30
31
32class ProjLib_HCompProjectedCurve;
33DEFINE_STANDARD_HANDLE(ProjLib_HCompProjectedCurve, Adaptor2d_HCurve2d)
34
35
36class ProjLib_HCompProjectedCurve : public Adaptor2d_HCurve2d
37{
38
39public:
40
41
36b9ff75 42 //! Creates an empty GenHCurve2d.
42cf5bc1 43 Standard_EXPORT ProjLib_HCompProjectedCurve();
44
36b9ff75 45 //! Creates a GenHCurve2d from a Curve
42cf5bc1 46 Standard_EXPORT ProjLib_HCompProjectedCurve(const ProjLib_CompProjectedCurve& C);
47
36b9ff75 48 //! Sets the field of the GenHCurve2d.
42cf5bc1 49 Standard_EXPORT void Set (const ProjLib_CompProjectedCurve& C);
50
36b9ff75 51 //! Returns the curve used to create the GenHCurve2d.
52 //! This is redefined from HCurve2d, cannot be inline.
79104795 53 Standard_EXPORT const Adaptor2d_Curve2d& Curve2d() const Standard_OVERRIDE;
42cf5bc1 54
36b9ff75 55 //! Returns the curve used to create the GenHCurve.
42cf5bc1 56 ProjLib_CompProjectedCurve& ChangeCurve2d();
57
58
59
60
61 DEFINE_STANDARD_RTTI(ProjLib_HCompProjectedCurve,Adaptor2d_HCurve2d)
62
63protected:
64
65
66 ProjLib_CompProjectedCurve myCurve;
67
68
69private:
70
71
72
73
74};
75
76#define TheCurve ProjLib_CompProjectedCurve
77#define TheCurve_hxx <ProjLib_CompProjectedCurve.hxx>
78#define Adaptor2d_GenHCurve2d ProjLib_HCompProjectedCurve
79#define Adaptor2d_GenHCurve2d_hxx <ProjLib_HCompProjectedCurve.hxx>
80#define Handle_Adaptor2d_GenHCurve2d Handle(ProjLib_HCompProjectedCurve)
81
82#include <Adaptor2d_GenHCurve2d.lxx>
83
84#undef TheCurve
85#undef TheCurve_hxx
86#undef Adaptor2d_GenHCurve2d
87#undef Adaptor2d_GenHCurve2d_hxx
88#undef Handle_Adaptor2d_GenHCurve2d
89
90
91
92
93#endif // _ProjLib_HCompProjectedCurve_HeaderFile