b311480e |
1 | // Created on: 2004-11-23 |
973c2be1 |
2 | // Copyright (c) 2004-2014 OPEN CASCADE SAS |
b311480e |
3 | // |
973c2be1 |
4 | // This file is part of Open CASCADE Technology software library. |
b311480e |
5 | // |
d5f74e42 |
6 | // This library is free software; you can redistribute it and/or modify it under |
7 | // the terms of the GNU Lesser General Public License version 2.1 as published |
973c2be1 |
8 | // by the Free Software Foundation, with special exception defined in the file |
9 | // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT |
10 | // distribution for complete text of the license and disclaimer of any warranty. |
b311480e |
11 | // |
973c2be1 |
12 | // Alternatively, this file may be used under the terms of Open CASCADE |
13 | // commercial license or contractual agreement. |
b311480e |
14 | |
7fd59977 |
15 | // Autho: Pavel TELKOV |
7fd59977 |
16 | // The original implementation Copyright: (C) RINA S.p.A |
17 | |
18 | #ifndef TObj_HiddenPartition_HeaderFile |
19 | #define TObj_HiddenPartition_HeaderFile |
20 | |
21 | #include <TObj_Partition.hxx> |
22 | |
23 | /** |
24 | * This class is partition is predefined hidden flag |
25 | */ |
26 | |
27 | class TObj_HiddenPartition : public TObj_Partition |
28 | { |
29 | public: |
30 | //! constructor |
31 | Standard_EXPORT TObj_HiddenPartition (const TDF_Label& theLabel); |
32 | |
33 | //! Returns all flags of father except Visible |
79104795 |
34 | virtual Standard_EXPORT Standard_Integer GetTypeFlags() const Standard_OVERRIDE; |
7fd59977 |
35 | |
36 | protected: |
37 | //! Persistence of TObj object |
38 | DECLARE_TOBJOCAF_PERSISTENCE(TObj_HiddenPartition,TObj_Partition) |
39 | public: |
40 | //! CASCADE RTTI |
92efcf78 |
41 | DEFINE_STANDARD_RTTIEXT(TObj_HiddenPartition,TObj_Partition) |
7fd59977 |
42 | }; |
43 | |
44 | //! Define handle class for TObj_HiddenPartition |
45 | DEFINE_STANDARD_HANDLE(TObj_HiddenPartition,TObj_Partition) |
46 | |
47 | |
48 | #endif |
49 | |
50 | #ifdef _MSC_VER |
51 | #pragma once |
52 | #endif |