/usr/include/opencascade/Storage_RootData.hxx is in libopencascade-foundation-dev 6.5.0.dfsg-2build1.
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 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | // 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 _Storage_RootData_HeaderFile
#define _Storage_RootData_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_Storage_RootData_HeaderFile
#include <Handle_Storage_RootData.hxx>
#endif
#ifndef _Storage_MapOfPers_HeaderFile
#include <Storage_MapOfPers.hxx>
#endif
#ifndef _Storage_Error_HeaderFile
#include <Storage_Error.hxx>
#endif
#ifndef _TCollection_AsciiString_HeaderFile
#include <TCollection_AsciiString.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_Storage_Root_HeaderFile
#include <Handle_Storage_Root.hxx>
#endif
#ifndef _Handle_Storage_HSeqOfRoot_HeaderFile
#include <Handle_Storage_HSeqOfRoot.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_Standard_Persistent_HeaderFile
#include <Handle_Standard_Persistent.hxx>
#endif
class Standard_NoSuchObject;
class Storage_Schema;
class Storage_Root;
class Storage_HSeqOfRoot;
class TCollection_AsciiString;
class Standard_Persistent;
class Storage_RootData : public MMgt_TShared {
public:
Standard_EXPORT Storage_RootData();
//! returns the number of roots. <br>
Standard_EXPORT Standard_Integer NumberOfRoots() const;
//! add a root to <me>. If a root with same name is present, it <br>
//! will be replaced by <aRoot>. <br>
Standard_EXPORT void AddRoot(const Handle(Storage_Root)& aRoot) ;
Standard_EXPORT Handle_Storage_HSeqOfRoot Roots() const;
//! find a root with name <aName>. <br>
Standard_EXPORT Handle_Storage_Root Find(const TCollection_AsciiString& aName) const;
//! returns Standard_True if <me> contains a root named <aName> <br>
Standard_EXPORT Standard_Boolean IsRoot(const TCollection_AsciiString& aName) const;
//! remove the root named <aName>. <br>
Standard_EXPORT void RemoveRoot(const TCollection_AsciiString& aName) ;
Standard_EXPORT Storage_Error ErrorStatus() const;
Standard_EXPORT TCollection_AsciiString ErrorStatusExtension() const;
Standard_EXPORT void ClearErrorStatus() ;
friend class Storage_Schema;
DEFINE_STANDARD_RTTI(Storage_RootData)
protected:
private:
Standard_EXPORT void UpdateRoot(const TCollection_AsciiString& aName,const Handle(Standard_Persistent)& aPers) ;
Standard_EXPORT void SetErrorStatus(const Storage_Error anError) ;
Standard_EXPORT void SetErrorStatusExtension(const TCollection_AsciiString& anErrorExt) ;
Storage_MapOfPers myObjects;
Storage_Error myErrorStatus;
TCollection_AsciiString myErrorStatusExt;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|