Warning, /include/opencascade/XmlObjMgt_Persistent.lxx is written in an unsupported language. File is not indexed.
0001 // Created on: 2001-08-01
0002 // Created by: Alexander GRIGORIEV
0003 // Copyright (c) 2001-2014 OPEN CASCADE SAS
0004 //
0005 // This file is part of Open CASCADE Technology software library.
0006 //
0007 // This library is free software; you can redistribute it and/or modify it under
0008 // the terms of the GNU Lesser General Public License version 2.1 as published
0009 // by the Free Software Foundation, with special exception defined in the file
0010 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0011 // distribution for complete text of the license and disclaimer of any warranty.
0012 //
0013 // Alternatively, this file may be used under the terms of Open CASCADE
0014 // commercial license or contractual agreement.
0015
0016 //=======================================================================
0017 //function : Element
0018 //purpose :
0019 //=======================================================================
0020 inline const XmlObjMgt_Element& XmlObjMgt_Persistent::Element() const
0021 {
0022 return myElement;
0023 }
0024
0025 //=======================================================================
0026 //function : Element
0027 //purpose :
0028 //=======================================================================
0029 inline XmlObjMgt_Element& XmlObjMgt_Persistent::Element()
0030 {
0031 return myElement;
0032 }
0033
0034 //=======================================================================
0035 //function : operator XmlObjMgt_Element
0036 //purpose :
0037 //=======================================================================
0038
0039 inline XmlObjMgt_Persistent::operator const XmlObjMgt_Element&() const
0040 {
0041 return myElement;
0042 }
0043
0044 //=======================================================================
0045 //function : operator XmlObjMgt_Element
0046 //purpose :
0047 //=======================================================================
0048
0049 inline XmlObjMgt_Persistent::operator XmlObjMgt_Element&()
0050 {
0051 return myElement;
0052 }
0053
0054 //=======================================================================
0055 //function : Id
0056 //purpose :
0057 //=======================================================================
0058 inline Standard_Integer XmlObjMgt_Persistent::Id() const
0059 {
0060 return myID;
0061 }