|
XMLBEANSXX
0.9.8
|
#include <XmlCursor.h>


Public Types | |
| enum | TokenType { INT_NONE = 0, INT_STARTDOC = 1, INT_ENDDOC = 2, INT_START = 3, INT_END = 4, INT_TEXT = 5, INT_ATTR = 6, INT_NAMESPACE = 7, INT_COMMENT = 8, INT_PROCINST = 9 } |
| typedef int | posType |
| typedef std::stack< std::pair < posType, ContentsPtr > > | stackType |
Public Member Functions | |
| bool | isNone () const |
| bool | isStartdoc () const |
| bool | isEnddoc () const |
| bool | isStart () const |
| bool | isEnd () const |
| bool | isText () const |
| bool | isAttr () const |
| bool | isNamespace () const |
| bool | isComment () const |
| bool | isProcinst () const |
| bool | isContainer () const |
| bool | isFinish () const |
| bool | isAnyAttr () const |
| XmlCursor (const XmlObject &o) | |
| QName | getName () const |
| TokenType | currentTokenType () const |
| XmlObject | getObject () |
| void | beginElement (const QName &name) |
| int | comparePosition (const XmlCursor &cursor) const |
| std::string | getAttributeText (const QName &attrName) const |
| bool | hasNextToken () const |
| bool | hasPrevToken () const |
| int | insertAttributeWithValue (const QName &name, const XmlAnySimpleType &o) |
| int | insertAttributeWithValue (const QName &name, const std::string &value) |
| int | insertElement (const QName &name, const XmlObject &o) |
| int | insertDocument (const XmlObjectDocument &d) |
| int | insertNamespace (std::string prefix, std::string namespaceURI) |
| void | setName (const QName &name) |
| bool | toChild (int index=1) |
| bool | toChild (const QName &name, int index=1) |
| TokenType | toEndToken () |
| bool | toFirstAttribute () |
| bool | toFirstChild () |
| TokenType | toFirstContentToken () |
| bool | toLastAttribute () |
| bool | toLastChild () |
| bool | toNextAttribute () |
| bool | toNextSibling (int index=1) |
| bool | toNextSibling (const QName &name, int index=1) |
| TokenType | toNextToken () |
| TokenType | toPrevToken () |
| bool | toParent () |
| bool | toPrevAttribute () |
| bool | toPrevSibling (int index=1) |
| void | toStartDoc () |
| std::string | getTextValue () |
| void | setTextValue (const std::string &s) |
| void | insertChars (const std::string &text) |
| bool | removeXml () |
| TokenType | getAttributeType (const QName &name) const |
| TokenType | getElementType (const QName &name) const |
| void | remember () |
| void | restore () |
| void | rememberAndSwap (ContentsPtr c) |
| ElemDict::value_type & | getPos () const |
| int | countElems () const |
| int | countAttrs () const |
Public Attributes | |
| stackType | stack |
| posType | pos |
| typedef int xmlbeansxx::XmlCursor::posType |
| typedef std::stack<std::pair<posType,ContentsPtr> > xmlbeansxx::XmlCursor::stackType |
| xmlbeansxx::XmlCursor::XmlCursor | ( | const XmlObject & | o | ) | [inline] |
| void xmlbeansxx::XmlCursor::beginElement | ( | const QName & | name | ) |
| int xmlbeansxx::XmlCursor::comparePosition | ( | const XmlCursor & | cursor | ) | const |
| int xmlbeansxx::XmlCursor::countAttrs | ( | ) | const |
| int xmlbeansxx::XmlCursor::countElems | ( | ) | const |
| std::string xmlbeansxx::XmlCursor::getAttributeText | ( | const QName & | attrName | ) | const |
| XmlCursor::TokenType xmlbeansxx::XmlCursor::getAttributeType | ( | const QName & | name | ) | const |
| XmlCursor::TokenType xmlbeansxx::XmlCursor::getElementType | ( | const QName & | name | ) | const |
| QName xmlbeansxx::XmlCursor::getName | ( | ) | const |
| ElemDict::value_type & xmlbeansxx::XmlCursor::getPos | ( | ) | const |
| std::string xmlbeansxx::XmlCursor::getTextValue | ( | ) |
| bool xmlbeansxx::XmlCursor::hasNextToken | ( | ) | const |
| bool xmlbeansxx::XmlCursor::hasPrevToken | ( | ) | const |
| int xmlbeansxx::XmlCursor::insertAttributeWithValue | ( | const QName & | name, |
| const XmlAnySimpleType & | o | ||
| ) |
| int xmlbeansxx::XmlCursor::insertAttributeWithValue | ( | const QName & | name, |
| const std::string & | value | ||
| ) |
| void xmlbeansxx::XmlCursor::insertChars | ( | const std::string & | text | ) |
| int xmlbeansxx::XmlCursor::insertDocument | ( | const XmlObjectDocument & | d | ) |
| int xmlbeansxx::XmlCursor::insertElement | ( | const QName & | name, |
| const XmlObject & | o | ||
| ) |
| int xmlbeansxx::XmlCursor::insertNamespace | ( | std::string | prefix, |
| std::string | namespaceURI | ||
| ) |
| bool xmlbeansxx::XmlCursor::isAnyAttr | ( | ) | const [inline] |
True if is attribute or namespace declaration token
| bool xmlbeansxx::XmlCursor::isAttr | ( | ) | const [inline] |
True if is attribute token.
| bool xmlbeansxx::XmlCursor::isComment | ( | ) | const [inline] |
True if is comment token.
| bool xmlbeansxx::XmlCursor::isContainer | ( | ) | const [inline] |
True if is start-document or start-element token
| bool xmlbeansxx::XmlCursor::isEnd | ( | ) | const [inline] |
True if is end-element token.
| bool xmlbeansxx::XmlCursor::isEnddoc | ( | ) | const [inline] |
True if is end-document token.
| bool xmlbeansxx::XmlCursor::isFinish | ( | ) | const [inline] |
True if is end-document or end-element token
| bool xmlbeansxx::XmlCursor::isNamespace | ( | ) | const [inline] |
True if is namespace declaration token.
| bool xmlbeansxx::XmlCursor::isNone | ( | ) | const [inline] |
True if no token.
| bool xmlbeansxx::XmlCursor::isProcinst | ( | ) | const [inline] |
True if is processing instruction token.
| bool xmlbeansxx::XmlCursor::isStart | ( | ) | const [inline] |
True if is start-element token.
| bool xmlbeansxx::XmlCursor::isStartdoc | ( | ) | const [inline] |
True if is start-document token.
| bool xmlbeansxx::XmlCursor::isText | ( | ) | const [inline] |
True if is text token.
| void xmlbeansxx::XmlCursor::remember | ( | ) |
| bool xmlbeansxx::XmlCursor::removeXml | ( | ) |
| void xmlbeansxx::XmlCursor::restore | ( | ) |
| void xmlbeansxx::XmlCursor::setName | ( | const QName & | name | ) |
| void xmlbeansxx::XmlCursor::setTextValue | ( | const std::string & | s | ) |
| bool xmlbeansxx::XmlCursor::toChild | ( | int | index = 1 | ) |
| bool xmlbeansxx::XmlCursor::toChild | ( | const QName & | name, |
| int | index = 1 |
||
| ) |
| bool xmlbeansxx::XmlCursor::toFirstChild | ( | ) |
| bool xmlbeansxx::XmlCursor::toLastChild | ( | ) |
| bool xmlbeansxx::XmlCursor::toNextSibling | ( | int | index = 1 | ) |
| bool xmlbeansxx::XmlCursor::toNextSibling | ( | const QName & | name, |
| int | index = 1 |
||
| ) |
| bool xmlbeansxx::XmlCursor::toParent | ( | ) |
| bool xmlbeansxx::XmlCursor::toPrevSibling | ( | int | index = 1 | ) |
| void xmlbeansxx::XmlCursor::toStartDoc | ( | ) |