Warning, file /include/opencascade/TopTools_LocationSet.hxx was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopTools_LocationSet_HeaderFile
0018 #define _TopTools_LocationSet_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopLoc_IndexedMapOfLocation.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <Standard_OStream.hxx>
0026 #include <Standard_IStream.hxx>
0027 #include <Message_ProgressRange.hxx>
0028
0029 class TopLoc_Location;
0030
0031
0032
0033
0034
0035
0036
0037
0038
0039
0040 class TopTools_LocationSet
0041 {
0042 public:
0043
0044 DEFINE_STANDARD_ALLOC
0045
0046
0047
0048 Standard_EXPORT TopTools_LocationSet();
0049
0050
0051 Standard_EXPORT void Clear();
0052
0053
0054
0055 Standard_EXPORT Standard_Integer Add (const TopLoc_Location& L);
0056
0057
0058 Standard_EXPORT const TopLoc_Location& Location (const Standard_Integer I) const;
0059
0060
0061 Standard_EXPORT Standard_Integer Index (const TopLoc_Location& L) const;
0062
0063
0064 Standard_EXPORT void Dump (Standard_OStream& OS) const;
0065
0066
0067
0068 Standard_EXPORT void Write (Standard_OStream& OS,
0069 const Message_ProgressRange& theProgress = Message_ProgressRange()) const;
0070
0071
0072
0073 Standard_EXPORT void Read (Standard_IStream& IS,
0074 const Message_ProgressRange& theProgress = Message_ProgressRange());
0075
0076 private:
0077
0078 TopLoc_IndexedMapOfLocation myMap;
0079 };
0080
0081 #endif