Home | History | Annotate | Download | only in tinyxml

Lines Matching refs:ELEMENT

138 	A Document can contain:	Element	(container or leaf)
143 An Element can contain: Element (container or leaf)
405 the text needs to define an element or junk will result. This is
408 A TiXmlDocument will read nodes until it reads a root element, and
409 all the children of that root element.
427 ELEMENT,
441 Element: name of the element
462 Element: name of the element
590 Calls NextSibling and ToElement. Will skip all non-Element
591 nodes. Returns 0 if there is not another element.
597 Calls NextSibling and ToElement. Will skip all non-Element
598 nodes. Returns 0 if there is not another element.
622 The possible types are: DOCUMENT, ELEMENT, COMMENT,
637 const TiXmlElement* ToElement() const { return ( this && type == ELEMENT ) ? (const TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
644 TiXmlElement* ToElement() { return ( this && type == ELEMENT ) ? (TiXmlElement*) this : 0; } ///< Cast to a more defined type. Will return null not of the requested type.
802 It is only used internally, both by the ELEMENT and the DECLARATION.
804 The set can be changed transparent to the Element and Declaration
831 //*ME: Because of hidden/disabled copy-construktor in TiXmlAttribute (sentinel-element),
840 /** The element is a container class. It has a value, the element name,
847 /// Construct an element.
948 const TiXmlAttribute* FirstAttribute() const { return attributeSet.First(); } ///< Access the first attribute in this element.
950 const TiXmlAttribute* LastAttribute() const { return attributeSet.Last(); } ///< Access the last attribute in this element.
953 /** Convenience function for easy access to the text inside an element. Although easy
968 Note that this function can be misleading. If the element foo was created from
975 another element. From this XML:
987 /// Creates a new Element and returns it - the returned element is a copy.
989 // Print the Element to a FILE stream.
1009 Reads the "value" of the element -- another element, or text.
1065 /** Constructor for text element. By default, it is treated as
1067 element, set the parameter _cdata to 'true'
1099 /// [internal use] Creates a new Element and returns it.
1111 bool cdata; // true if this should be input and output as a CDATA style text element
1270 /** Get the root element -- the only top level element -- of the document.
1376 <Element attributeA = "valueA">
1379 </Element>
1383 Assuming you want the value of "attributeB" in the 2nd "Child" element, it's very
1390 TiXmlElement* element = root->FirstChildElement( "Element" );
1391 if ( element )
1393 TiXmlElement* child = element->FirstChildElement( "Child" );
1408 Element" ).Child( "Child", 1 ).Element();
1427 TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).Child( "Child", i ).Element();
1436 a linear walk to find the element, so this code would iterate much more than it needs
1440 TiXmlElement* child = docHandle.FirstChild( "Document" ).FirstChild( "Element" ).FirstChild( "Child" ).Element();
1461 /// Return a handle to the first child element.
1463 /// Return a handle to the first child element with the given name.
1474 /** Return a handle to the "index" child element with the given name.
1475 The first child element is 0, the second 1, etc. Note that only TiXmlElements
1479 /** Return a handle to the "index" child element.
1480 The first child element is 0, the second 1, etc. Note that only TiXmlElements
1496 TiXmlElement* Element() const { return ( ( node && node->ToElement() ) ? node->ToElement() : 0 ); }