/usr/include/oce/XmlMDF_ADriverTable.hxx is in liboce-ocaf-lite-dev 0.17.2-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 | // This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to
// this header file considered to be the "object code" form of the original source.
#ifndef _XmlMDF_ADriverTable_HeaderFile
#define _XmlMDF_ADriverTable_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_XmlMDF_ADriverTable.hxx>
#include <XmlMDF_TypeADriverMap.hxx>
#include <MMgt_TShared.hxx>
#include <Handle_XmlMDF_ADriver.hxx>
#include <Standard_Boolean.hxx>
#include <Handle_Standard_Type.hxx>
class XmlMDF_ADriver;
class XmlMDF_TypeADriverMap;
class Standard_Type;
//! A driver table is an object building links between
//! object types and object drivers. In the
//! translation process, a driver table is asked to
//! give a translation driver for each current object
//! to be translated.
class XmlMDF_ADriverTable : public MMgt_TShared
{
public:
//! Creates a mutable ADriverTable from XmlMDF.
Standard_EXPORT XmlMDF_ADriverTable();
//! Sets a translation driver: <aDriver>.
Standard_EXPORT void AddDriver (const Handle(XmlMDF_ADriver)& anHDriver) ;
//! Gets a map of drivers.
Standard_EXPORT const XmlMDF_TypeADriverMap& GetDrivers() const;
//! Gets a driver <aDriver> according to <aType>
//!
//! Returns True if a driver is found; false otherwise.
Standard_EXPORT Standard_Boolean GetDriver (const Handle(Standard_Type)& aType, Handle(XmlMDF_ADriver)& anHDriver) const;
DEFINE_STANDARD_RTTI(XmlMDF_ADriverTable)
protected:
private:
XmlMDF_TypeADriverMap myMap;
};
#endif // _XmlMDF_ADriverTable_HeaderFile
|