File indexing completed on 2025-01-18 10:04:12
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef LDOM_Attr_HeaderFile
0017 #define LDOM_Attr_HeaderFile
0018
0019 #include <LDOM_Node.hxx>
0020
0021 class LDOM_BasicAttribute;
0022
0023
0024
0025
0026 class LDOM_Attr : public LDOM_Node
0027 {
0028 public:
0029
0030
0031 LDOM_Attr () {}
0032
0033
0034 LDOM_Attr (const LDOM_Attr& anOther) : LDOM_Node (anOther) {}
0035
0036
0037 LDOM_Attr& operator = (const LDOM_NullPtr * aNull)
0038 { return (LDOM_Attr&) LDOM_Node::operator = (aNull); }
0039
0040
0041 LDOM_Attr& operator = (const LDOM_Attr& anOther)
0042 { return (LDOM_Attr&) LDOM_Node::operator = (anOther); }
0043
0044
0045 LDOMString getName () const { return getNodeName (); }
0046
0047 LDOMString getValue () const { return getNodeValue(); }
0048
0049 Standard_EXPORT void setValue (const LDOMString& aValue);
0050
0051 protected:
0052 friend class LDOM_Element;
0053
0054
0055 LDOM_Attr (const LDOM_BasicAttribute& anAttr,
0056 const Handle(LDOM_MemManager)& aDoc);
0057
0058 private:
0059
0060
0061 };
0062
0063 #endif