Warning, file /include/opencascade/BinMDF_ADriverTable.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 #ifndef _BinMDF_ADriverTable_HeaderFile
0017 #define _BinMDF_ADriverTable_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <Standard_Type.hxx>
0021
0022 #include <BinMDF_TypeADriverMap.hxx>
0023 #include <BinMDF_TypeIdMap.hxx>
0024 #include <Standard_Transient.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TColStd_IndexedMapOfTransient.hxx>
0027 #include <TColStd_SequenceOfAsciiString.hxx>
0028 class BinMDF_ADriver;
0029
0030
0031 class BinMDF_ADriverTable;
0032 DEFINE_STANDARD_HANDLE(BinMDF_ADriverTable, Standard_Transient)
0033
0034
0035
0036
0037
0038
0039 class BinMDF_ADriverTable : public Standard_Transient
0040 {
0041
0042 public:
0043
0044
0045
0046 Standard_EXPORT BinMDF_ADriverTable();
0047
0048
0049 Standard_EXPORT void AddDriver (const Handle(BinMDF_ADriver)& theDriver);
0050
0051
0052
0053 Standard_EXPORT void AddDerivedDriver (const Handle(TDF_Attribute)& theInstance);
0054
0055
0056
0057 Standard_EXPORT const Handle(Standard_Type)& AddDerivedDriver (Standard_CString theDerivedType);
0058
0059
0060
0061
0062 Standard_EXPORT void AssignIds (const TColStd_IndexedMapOfTransient& theTypes);
0063
0064
0065
0066
0067 Standard_EXPORT void AssignIds (const TColStd_SequenceOfAsciiString& theTypeNames);
0068
0069
0070
0071 Standard_Integer GetDriver (const Handle(Standard_Type)& theType, Handle(BinMDF_ADriver)& theDriver);
0072
0073
0074
0075 Handle(BinMDF_ADriver) GetDriver (const Standard_Integer theTypeId);
0076
0077
0078
0079
0080 DEFINE_STANDARD_RTTIEXT(BinMDF_ADriverTable,Standard_Transient)
0081
0082 protected:
0083
0084
0085
0086
0087 private:
0088
0089
0090
0091 void AssignId (const Handle(Standard_Type)& theType, const Standard_Integer theId);
0092
0093 BinMDF_TypeADriverMap myMap;
0094 BinMDF_TypeIdMap myMapId;
0095
0096
0097 };
0098
0099
0100 #include <BinMDF_ADriverTable.lxx>
0101
0102
0103
0104
0105
0106 #endif