1 // Created on: 1997-07-30
2 // Created by: Denis PASCAL
3 // Copyright (c) 1997-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <TDataStd.ixx>
19 #include <TDF_AttributeIterator.hxx>
20 #include <TDF_AttributeList.hxx>
21 #include <TDF_Tool.hxx>
22 #include <TDF_TagSource.hxx>
23 #include <TDF_Reference.hxx>
24 #include <TDF_ListIteratorOfAttributeList.hxx>
25 #include <TDF_ListIteratorOfLabelList.hxx>
26 #include <TDF_MapIteratorOfLabelMap.hxx>
27 #include <TDF_DataSet.hxx>
28 #include <TDF_ChildIterator.hxx>
29 #include <TDataStd_Integer.hxx>
30 #include <TDataStd_Real.hxx>
31 #include <TDataStd_Name.hxx>
32 #include <TDataStd_UAttribute.hxx>
33 #include <TDataStd_IntegerArray.hxx>
34 #include <TDataStd_RealArray.hxx>
35 #include <TDataStd_ExtStringArray.hxx>
37 #include <Standard_GUID.hxx>
41 //=======================================================================
44 //=======================================================================
46 void TDataStd::IDList(TDF_IDList& anIDList)
48 anIDList.Append(TDF_TagSource::GetID());
49 anIDList.Append(TDF_Reference::GetID());
50 anIDList.Append(TDataStd_Integer::GetID());
51 anIDList.Append(TDataStd_Name::GetID());
52 anIDList.Append(TDataStd_Real::GetID());
53 anIDList.Append(TDataStd_IntegerArray::GetID());
54 anIDList.Append(TDataStd_RealArray::GetID());
55 anIDList.Append(TDataStd_ExtStringArray::GetID());
60 //=======================================================================
62 //purpose : print the name of the real dimension
63 //=======================================================================
65 Standard_OStream& TDataStd::Print(const TDataStd_RealEnum C, Standard_OStream& s)
68 case TDataStd_SCALAR :
72 case TDataStd_LENGTH :
76 case TDataStd_ANGULAR :
78 s << "ANGULAR"; break;
82 s << "UNKNOWN"; break;