1 // Created on: 2007-05-29
2 // Created by: Vlad Romashko
3 // Copyright (c) 2007-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 #include <TDataStd_Tick.ixx>
18 //=======================================================================
21 //=======================================================================
22 const Standard_GUID& TDataStd_Tick::GetID ()
24 static Standard_GUID TDataStd_TickID("40DC60CD-30B9-41be-B002-4169EFB34EA5");
25 return TDataStd_TickID;
28 //=======================================================================
31 //=======================================================================
32 Handle(TDataStd_Tick) TDataStd_Tick::Set (const TDF_Label& L)
34 Handle(TDataStd_Tick) A;
35 if (!L.FindAttribute(TDataStd_Tick::GetID (), A))
37 A = new TDataStd_Tick();
43 //=======================================================================
44 //function : TDataStd_Tick
46 //=======================================================================
47 TDataStd_Tick::TDataStd_Tick ()
51 //=======================================================================
54 //=======================================================================
55 const Standard_GUID& TDataStd_Tick::ID () const
60 //=======================================================================
63 //=======================================================================
64 Handle(TDF_Attribute) TDataStd_Tick::NewEmpty() const
66 return new TDataStd_Tick();
69 //=======================================================================
72 //=======================================================================
73 void TDataStd_Tick::Restore (const Handle(TDF_Attribute)& )
75 // There are no fields in this attribute.
78 //=======================================================================
81 //=======================================================================
82 void TDataStd_Tick::Paste(const Handle(TDF_Attribute)& ,
83 const Handle(TDF_RelocationTable)& ) const
85 // There are no fields in this attribute.
88 //=======================================================================
91 //=======================================================================
92 Standard_OStream& TDataStd_Tick::Dump (Standard_OStream& anOS) const