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_NodeList_HeaderFile
0017 #define LDOM_NodeList_HeaderFile
0018
0019 #include <LDOM_Node.hxx>
0020
0021 class LDOM_BasicNode;
0022 class LDOM_BasicNodeSequence;
0023
0024
0025
0026
0027 class LDOM_NodeList
0028 {
0029 public:
0030
0031
0032 Standard_EXPORT LDOM_NodeList ();
0033
0034
0035 Standard_EXPORT LDOM_NodeList (const LDOM_NodeList& theOther);
0036
0037
0038 Standard_EXPORT LDOM_NodeList& operator = (const LDOM_NodeList& theOther);
0039
0040
0041 Standard_EXPORT ~LDOM_NodeList ();
0042
0043
0044 Standard_EXPORT LDOM_NodeList& operator = (const LDOM_NullPtr *);
0045
0046
0047 Standard_EXPORT Standard_Boolean operator == (const LDOM_NullPtr *) const;
0048
0049 Standard_EXPORT Standard_Boolean operator != (const LDOM_NullPtr *) const;
0050
0051 Standard_EXPORT LDOM_Node item (const Standard_Integer) const;
0052
0053 Standard_EXPORT Standard_Integer getLength () const;
0054
0055 private:
0056 friend class LDOM_Document;
0057 friend class LDOM_Element;
0058 friend class LDOM_BasicElement;
0059
0060
0061 Standard_EXPORT LDOM_NodeList (const Handle(LDOM_MemManager)& aDoc);
0062
0063 Standard_EXPORT void Append (const LDOM_BasicNode& aNode) const;
0064
0065 Handle(LDOM_MemManager) myDoc;
0066 LDOM_BasicNodeSequence * mySeq;
0067 };
0068
0069 #endif