Warning, /include/opencascade/TDF_Delta.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 Sep 8 1997 Creation
0021
0022 inline bool TDF_Delta::IsEmpty() const
0023 {
0024 return myAttDeltaList.IsEmpty();
0025 }
0026
0027 inline bool TDF_Delta::IsApplicable(const int aCurrentTime) const
0028 {
0029 return (myEndTime == aCurrentTime);
0030 }
0031
0032 inline int TDF_Delta::BeginTime() const
0033 {
0034 return myBeginTime;
0035 }
0036
0037 inline int TDF_Delta::EndTime() const
0038 {
0039 return myEndTime;
0040 }
0041
0042 inline const NCollection_List<occ::handle<TDF_AttributeDelta>>& TDF_Delta::AttributeDeltas() const
0043 {
0044 return myAttDeltaList;
0045 }
0046
0047 inline void TDF_Delta::SetName(const TCollection_ExtendedString& theName)
0048 {
0049 myName = theName;
0050 }
0051
0052 inline TCollection_ExtendedString TDF_Delta::Name() const
0053 {
0054 return myName;
0055 }
0056
0057 inline void TDF_Delta::ReplaceDeltaList(
0058 const NCollection_List<occ::handle<TDF_AttributeDelta>>& theList)
0059 {
0060 myAttDeltaList = theList;
0061 }