|
| VBufStorage_referenceNode_t (int docHandle, int ID, VBufStorage_controlFieldNode_t *r) |
|
void | generateMarkupTagName (std::wstring &text) |
| generates this field's markup tag name
|
|
bool | getIdentifier (int *docHandle, int *ID) |
| retreaves the node's doc handle and ID.
|
|
virtual std::wstring | getDebugInfo () const |
|
bool | matchAttributes (const std::vector< std::wstring > &attribs, const std::wregex ®exp) |
| work out if the attributes in the given string exist on this node.
|
|
VBufStorage_controlFieldNode_t * | getParent () |
| points to this node's parent control field node.
|
|
VBufStorage_fieldNode_t * | getPrevious () |
| points to the node directly before this node that shares the same parent as this node.
|
|
VBufStorage_fieldNode_t * | getNext () |
| points to the node directly after this node that shares the same parent as this node.
|
|
VBufStorage_fieldNode_t * | getFirstChild () |
| points to this node's first child.
|
|
VBufStorage_fieldNode_t * | getLastChild () |
| points to this node's last child.
|
|
bool | addAttribute (const std::wstring &name, const std::wstring &value) |
| Adds an attribute to this field.
|
|
std::optional< std::wstring > | getAttribute (const std::wstring &name) |
| Gets an attribute value for this field.
|
|
std::wstring | getAttributesString () const |
|
virtual void | getTextInRange (int startOffset, int endOffset, std::wstring &text, bool useMarkup=false, bool(*filter)(VBufStorage_fieldNode_t *)=NULL) |
| fetches the text between given offsets in this node and its descendants, with optional markup.
|
|
int | getLength () |
| Retreave the length of this node.
|
|
|
virtual void | generateAttributesForMarkupOpeningTag (std::wstring &text, int startOffset, int endOffset) |
| Generates the attributes within a markup opening tag.
|
|
virtual void | disassociateFromBuffer (VBufStorage_buffer_t *buffer) |
| Disassociates this node from its buffer.
|
|
| VBufStorage_controlFieldNode_t (int docHandle, int ID, bool isBlock) |
| constructor.
|
|
VBufStorage_fieldNode_t * | nextNodeInTree (int direction, VBufStorage_fieldNode_t *limitNode, int *relativeStartOffset) |
| moves to the next node, in depth-first order.
|
|
int | calculateOffsetInTree () const |
| Calculates the offset for this node relative to the surrounding tree.
|
|
virtual VBufStorage_textFieldNode_t * | locateTextFieldNodeAtOffset (int offset, int *relativeOffset) |
| Locates the descendant textFieldNode that is positioned at the given offset in this node.
|
|
void | generateMarkupOpeningTag (std::wstring &text, int startOffset, int endOffset) |
| generates a markup opening tag for this field.
|
|
void | generateMarkupClosingTag (std::wstring &text) |
| generates a markup closing tag for this field.
|
|
| VBufStorage_fieldNode_t (int length, bool isBlock) |
| constructor.
|
|
virtual | ~VBufStorage_fieldNode_t () |
| destructor
|
|
VBufStorage_controlFieldNode_t * | parent |
| points to this node's parent control field node.
|
|
VBufStorage_fieldNode_t * | previous |
| points to the node directly before this node that shares the same parent as this node.
|
|
VBufStorage_fieldNode_t * | next |
| points to the node directly after this node that shares the same parent as this node.
|
|
VBufStorage_fieldNode_t * | firstChild |
| points to this node's first child.
|
|
VBufStorage_fieldNode_t * | lastChild |
| points to this node's last child.
|
|
int | length |
| The length of this node in characters.
|
|
VBufStorage_attributeMap_t | attributes |
| a map to hold attributes for this field.
|
|
A node that references another fieldNode.
When rendering a subtree in a temporary buffer to update existing content, This node class is used to indicate where an existing node should be reused.