/usr/include/oce/XmlObjMgt.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 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 | // 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 _XmlObjMgt_HeaderFile
#define _XmlObjMgt_HeaderFile
#include <Standard.hxx>
#include <Standard_DefineAlloc.hxx>
#include <Standard_Macro.hxx>
#include <XmlObjMgt_DOMString.hxx>
#include <Standard_Boolean.hxx>
#include <XmlObjMgt_Element.hxx>
#include <Standard_Integer.hxx>
#include <Standard_CString.hxx>
#include <Standard_Real.hxx>
class TCollection_ExtendedString;
class TCollection_AsciiString;
class XmlObjMgt_Persistent;
class XmlObjMgt_GP;
class XmlObjMgt_Array1;
//! This package defines services to manage the storage
//! grain of data produced by applications and those classes
//! to manage persistent extern reference.
class XmlObjMgt
{
public:
DEFINE_STANDARD_ALLOC
//! Define the name of XMLattribute 'ID' (to be used everywhere)
Standard_EXPORT static const XmlObjMgt_DOMString& IdString() ;
//! Add attribute <theElement extstring="theString" ...>
Standard_EXPORT static Standard_Boolean SetExtendedString (XmlObjMgt_Element& theElement, const TCollection_ExtendedString& theString) ;
//! Get attribute <theElement extstring="theString" ...>
Standard_EXPORT static Standard_Boolean GetExtendedString (const XmlObjMgt_Element& theElement, TCollection_ExtendedString& theString) ;
//! Returns the first child text node
Standard_EXPORT static XmlObjMgt_DOMString GetStringValue (const XmlObjMgt_Element& theElement) ;
//! Add theData as the last child text node to theElement
//! isClearText(True) avoids analysis of the string and replacement
//! of characters like '<' and '&' during XML file storage.
//! Do NEVER set isClearText unless you have a hell of a reason
Standard_EXPORT static void SetStringValue (XmlObjMgt_Element& theElement, const XmlObjMgt_DOMString& theData, const Standard_Boolean isClearText = Standard_False) ;
//! Convert XPath expression (DOMString) into TagEntry string
//! returns False on Error
Standard_EXPORT static Standard_Boolean GetTagEntryString (const XmlObjMgt_DOMString& theTarget, TCollection_AsciiString& theTagEntry) ;
//! Convert XPath expression (DOMString) into TagEntry string
//! returns False on Error
Standard_EXPORT static void SetTagEntryString (XmlObjMgt_DOMString& theSource, const TCollection_AsciiString& theTagEntry) ;
Standard_EXPORT static XmlObjMgt_Element FindChildElement (const XmlObjMgt_Element& theSource, const Standard_Integer theObjId) ;
Standard_EXPORT static XmlObjMgt_Element FindChildByRef (const XmlObjMgt_Element& theSource, const XmlObjMgt_DOMString& theRefName) ;
Standard_EXPORT static XmlObjMgt_Element FindChildByName (const XmlObjMgt_Element& theSource, const XmlObjMgt_DOMString& theName) ;
Standard_EXPORT static Standard_Boolean GetInteger (Standard_CString& theString, Standard_Integer& theValue) ;
Standard_EXPORT static Standard_Boolean GetReal (Standard_CString& theString, Standard_Real& theValue) ;
Standard_EXPORT static Standard_Boolean GetReal (const XmlObjMgt_DOMString& theString, Standard_Real& theValue) ;
protected:
private:
friend class XmlObjMgt_Persistent;
friend class XmlObjMgt_GP;
friend class XmlObjMgt_Array1;
};
#endif // _XmlObjMgt_HeaderFile
|