![]() |
Elm
2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
|
#include <elm/xom/Elements.h>
Public Member Functions | |
Element * | get (int index) const |
int | size (void) const |
Element * | operator[] (int index) const |
A read-only list of elements for traversal purposes. Changes to the document from which this list was generated are not reflected in this list. Changes to the individual Element objects in the list are reflected.
|
inline |
Returns the indexth element in the list. The first element has index 0. The last element has index size() - 1.
index | the element to return |
Referenced by Elements::operator[]().
|
inline |
Shortcut to get().
References Elements::get().
|
inline |
Returns the number of elements in the list. This is guaranteed non-negative.