LibreOffice Module connectivity (master) 1
|
special node for avoiding memory leaks More...
#include <internalnode.hxx>
Public Member Functions | |
OSQLInternalNode (const char *pNewValue, SQLNodeType eNodeType, sal_uInt32 nNodeID=0) | |
OSQLInternalNode (std::string_view _rNewValue, SQLNodeType eNodeType, sal_uInt32 nNodeID=0) | |
OSQLInternalNode (const OUString &_rNewValue, SQLNodeType eNodeType, sal_uInt32 nNodeID=0) | |
virtual | ~OSQLInternalNode () override |
Public Member Functions inherited from connectivity::OSQLParseNode | |
OSQLParseNode (const char *_pValueStr, SQLNodeType _eNodeType, sal_uInt32 _nNodeID=0) | |
OSQLParseNode (std::string_view _rValue, SQLNodeType eNewNodeType, sal_uInt32 nNewNodeID=0) | |
OSQLParseNode (OUString _sValue, SQLNodeType _eNodeType, sal_uInt32 _nNodeID=0) | |
OSQLParseNode (const OSQLParseNode &rParseNode) | |
OSQLParseNode & | operator= (const OSQLParseNode &rParseNode) |
bool | operator== (OSQLParseNode const &rParseNode) const |
virtual | ~OSQLParseNode () |
OSQLParseNode * | getParent () const |
void | setParent (OSQLParseNode *pParseNode) |
size_t | count () const |
OSQLParseNode * | getChild (sal_uInt32 nPos) const |
void | append (OSQLParseNode *pNewSubTree) |
void | insert (sal_uInt32 nPos, OSQLParseNode *pNewSubTree) |
void | replaceAndDelete (OSQLParseNode *pOldSubTree, OSQLParseNode *pNewSubTree) |
OSQLParseNode * | removeAt (sal_uInt32 nPos) |
void | replaceNodeValue (const OUString &rTableAlias, const OUString &rColumnName) |
bool | parseNodeToExecutableStatement (OUString &_out_rString, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, OSQLParser &_rParser, css::sdbc::SQLException *_pErrorHolder) const |
parses the node to a string which can be passed to a driver's connection for execution More... | |
void | parseNodeToStr (OUString &rString, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const IParseContext *pContext=nullptr, bool _bIntl=false, bool _bQuote=true) const |
void | parseNodeToPredicateStr (OUString &rString, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const css::lang::Locale &rIntl, OUString _sDec, const IParseContext *pContext=nullptr) const |
void | parseNodeToPredicateStr (OUString &rString, const css::uno::Reference< css::sdbc::XConnection > &_rxConnection, const css::uno::Reference< css::util::XNumberFormatter > &xFormatter, const css::uno::Reference< css::beans::XPropertySet > &_xField, const OUString &_sTableAlias, const css::lang::Locale &rIntl, OUString strDec, const IParseContext *pContext=nullptr) const |
OSQLParseNode * | getByRule (OSQLParseNode::Rule eRule) const |
void | showParseTree (OUString &rString) const |
void | showParseTree (OUStringBuffer &_inout_rBuf, sal_uInt32 nLevel) const |
SQLNodeType | getNodeType () const |
sal_uInt32 | getRuleID () const |
Rule | getKnownRuleID () const |
returns the ID of the rule represented by the node If the node does not represent a rule, UNKNOWN_RULE is returned More... | |
sal_uInt32 | getTokenID () const |
bool | isRule () const |
bool | isToken () const |
const OUString & | getTokenValue () const |
bool | isLeaf () const |
special node for avoiding memory leaks
Definition at line 34 of file internalnode.hxx.
OSQLInternalNode::OSQLInternalNode | ( | const char * | pNewValue, |
SQLNodeType | eNodeType, | ||
sal_uInt32 | nNodeID = 0 |
||
) |
Definition at line 26 of file internalnode.cxx.
References connectivity::OSQLParser::s_pGarbageCollector.
OSQLInternalNode::OSQLInternalNode | ( | std::string_view | _rNewValue, |
SQLNodeType | eNodeType, | ||
sal_uInt32 | nNodeID = 0 |
||
) |
Definition at line 36 of file internalnode.cxx.
References connectivity::OSQLParser::s_pGarbageCollector.
OSQLInternalNode::OSQLInternalNode | ( | const OUString & | _rNewValue, |
SQLNodeType | eNodeType, | ||
sal_uInt32 | nNodeID = 0 |
||
) |
Definition at line 46 of file internalnode.cxx.
References connectivity::OSQLParser::s_pGarbageCollector.
|
overridevirtual |
Definition at line 56 of file internalnode.cxx.
References connectivity::OSQLParser::s_pGarbageCollector.