Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/TopOpeBRep_traceSIFF.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1997-10-22
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1997-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _TopOpeBRep_traceSIFF_HeaderFile
0018 #define _TopOpeBRep_traceSIFF_HeaderFile
0019 
0020 #ifdef OCCT_DEBUG
0021 
0022   #include <TopAbs_ShapeEnum.hxx>
0023 
0024   #include <TopAbs_Orientation.hxx>
0025 
0026   #include <TopAbs_State.hxx>
0027 
0028   #include <TopoDS_Shape.hxx>
0029 
0030   #include <TopTools_ShapeMapHasher.hxx>
0031 
0032   #include <NCollection_Map.hxx>
0033 
0034   #include <NCollection_List.hxx>
0035 
0036   #include <NCollection_IndexedMap.hxx>
0037 
0038   #include <NCollection_DataMap.hxx>
0039 
0040   #include <Standard_Integer.hxx>
0041 
0042   #include <NCollection_IndexedDataMap.hxx>
0043 
0044   #include <TopoDS_Face.hxx>
0045 
0046   #include <TopoDS_Edge.hxx>
0047 
0048   #include <TopoDS_Vertex.hxx>
0049 
0050   #include <TCollection_AsciiString.hxx>
0051   #include <Standard_OStream.hxx>
0052 
0053 class TopOpeBRep_traceSIFF
0054 {
0055 public:
0056   TopOpeBRep_traceSIFF();
0057 
0058   void Reset();
0059 
0060   void Set(const bool b, int n, char** a);
0061 
0062   void Set(const TCollection_AsciiString& brep1,
0063            const TCollection_AsciiString& brep2,
0064            const TCollection_AsciiString& n);
0065 
0066   TCollection_AsciiString Name1(const int I) const;
0067   TCollection_AsciiString Name2(const int I) const;
0068 
0069   const TCollection_AsciiString& File() const;
0070 
0071   bool Start(const TCollection_AsciiString& s, Standard_OStream& OS);
0072   void Add(const int I1, const int I2);
0073   void End(const TCollection_AsciiString& s, Standard_OStream& OS);
0074 
0075 private:
0076   TCollection_AsciiString mybrep1, mybrep2, myfilename;
0077   std::filebuf            myfilebuf;
0078   bool                    myopen;
0079 };
0080 
0081 // #ifdef OCCT_DEBUG
0082 #endif
0083 // #define _TopOpeBRep_traceSIFF_HeaderFile
0084 #endif