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_CharacterData_HeaderFile
0017 #define LDOM_CharacterData_HeaderFile
0018
0019 #include <LDOM_Node.hxx>
0020
0021 class LDOM_BasicText;
0022
0023
0024
0025
0026 class LDOM_CharacterData : public LDOM_Node
0027 {
0028 public:
0029
0030
0031 LDOM_CharacterData () : myLength (-1) {}
0032
0033
0034 LDOM_CharacterData (const LDOM_CharacterData& theOther)
0035 : LDOM_Node (theOther), myLength (-1) {}
0036
0037
0038 Standard_EXPORT LDOM_CharacterData&
0039 operator = (const LDOM_NullPtr * aNull);
0040
0041
0042 Standard_EXPORT LDOM_CharacterData&
0043 operator = (const LDOM_CharacterData& anOther);
0044
0045
0046 LDOMString getData () const { return getNodeValue(); }
0047
0048
0049 Standard_EXPORT void setData (const LDOMString& aValue);
0050
0051
0052 Standard_EXPORT Standard_Integer
0053 getLength () const;
0054
0055
0056 protected:
0057
0058
0059 LDOM_CharacterData (const LDOM_BasicText& aText,
0060 const Handle(LDOM_MemManager)& aDoc);
0061 private:
0062
0063 Standard_Integer myLength;
0064
0065 };
0066
0067 #endif