Warning, /include/opencascade/TDF_Data.lxx is written in an unsupported language. File is not indexed.
0001 // Created by: DAUTRY Philippe
0002 // Copyright (c) 1997-1999 Matra Datavision
0003 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015
0016 // -------------
0017
0018 // Version: 0.0
0019 //Version Date Purpose
0020 // 0.0 Feb 6 1997 Creation
0021
0022
0023
0024 inline Standard_Integer TDF_Data::Transaction() const
0025 { return myTransaction; }
0026
0027 inline const TDF_Label TDF_Data::Root() const
0028 { return TDF_Label(myRoot); }
0029
0030 inline Standard_Integer TDF_Data::Time() const
0031 { return myTime; }
0032
0033 inline Standard_Boolean TDF_Data::NotUndoMode() const
0034 { return myNotUndoMode; }
0035
0036 inline Standard_OStream& operator << (Standard_OStream& anOS, const Handle(TDF_Data)& aDF)
0037 { return aDF->Dump(anOS); }
0038
0039 inline void TDF_Data::AllowModification
0040 (const Standard_Boolean theAllowModification)
0041 {
0042 myAllowModification = theAllowModification;
0043 }
0044
0045 inline Standard_Boolean TDF_Data::IsModificationAllowed() const
0046 {
0047 return myAllowModification;
0048 }
0049
0050 inline const Handle(NCollection_BaseAllocator)&
0051 TDF_Data::LabelNodeAllocator() const
0052 { return myLabelNodeAllocator; }