|
| CQTokFile (const string &indexName=string(""), const string &fileName=string("")) |
|
virtual | ~CQTokFile () |
|
virtual const char * | OperatorKey (void) const |
| Compilation utility: return query-operator key for use with CConcIndexator::m_OpDefaultIndexNames. More...
|
|
virtual bool | Create (CQueryTokenNode *pNode) |
|
virtual string | ValueString () |
| Stringification utility for use by subclasses; default returns sqString(m_Value) More...
|
|
virtual string | jsonClass () |
|
| CQToken (const string &indexName=string(""), const string &value=string(""), const BYTE matchId=0) |
|
virtual | ~CQToken () |
|
virtual BYTE | GetMatchId () const |
| get local match-id More...
|
|
virtual BYTE | SetMatchId (BYTE matchId) |
| Set match-id, returns new value. Override sets m_MatchId. More...
|
|
virtual bool | Compile (CQueryCompiler *compiler) |
| Compile query. Default implementation just calls CQueryTokenNode::CreateStringPattern(m_IndexName,m_Value) More...
|
|
string | IndexName (const string &DefaultIndexName=string("")) |
| Compilation utility: get long index name (requires non-NULL compiler), empty string is returned if not found. More...
|
|
string | BreakName (const string &DefaultBreakName=string("")) |
| Compilation utility: get long break name (requires non-NULL compiler), empty string is returned if not found. More...
|
|
virtual string | IndexString (void) |
| Stringification utility for use by subclasses; returns string "$INDEX=" or empty. More...
|
|
virtual string | MatchIdString (void) |
| Stringification utility for use by subclasses; default should be sensible. More...
|
|
virtual string | toString (void) |
| Default stringification: NegString(IndexString() + ValueString()) More...
|
|
virtual string | jsonValue (void) |
| json stringification utility More...
|
|
virtual string | jsonData () |
|
| CQAtomic (const string &label=string(""), bool negated=false) |
| Default constructor. More...
|
|
virtual | ~CQAtomic () |
|
| CQNegatable (const string &label=string(""), bool negated=false) |
| Default constructor. More...
|
|
| CQNegatable (bool negated) |
|
virtual | ~CQNegatable () |
|
virtual bool | Negate (void) |
| toggle negation flag; returns new value More...
|
|
virtual bool | Negated () |
| override returns current value of m_Negated More...
|
|
virtual string | NegString (const std::string &s) |
| string creation utility More...
|
|
| CQuery (const string &label=string("")) |
| Default constructor. More...
|
|
virtual | ~CQuery (void) |
|
virtual bool | CheckSatisfiable (CQueryCompiler *compiler) |
|
virtual bool | CompileOptions (CQueryCompiler *compiler=NULL) |
|
virtual void | Evaluate () |
|
virtual bool | HasMatchId () const |
| Returns true iff this query uses a nontrival match-id operator; default checks (this->GetMatchId() != 0) More...
|
|
virtual bool | RootOK () |
| Is this query an admissible root of a compiled parse tree (default returns !this->Negated()) More...
|
|
virtual ddcObjectList | Children () const |
|
virtual void | DisownChildren () |
|
virtual string | optionsToString () |
| DEBUG: return canonical option string More...
|
|
virtual string | optionsToJson () |
| return json format option string More...
|
|
virtual string | toJson () |
|
void | SetCompiler (CQueryCompiler *compiler) |
|
virtual void | ClearNode () |
| deletes m_Node if non-NULL More...
|
|
virtual void | ClearOptions () |
| deletes m_Options if non-NULL More...
|
|
virtual void | Clear (bool deep=true) |
| clear query contents. if deep is true, propagates operation to daughters More...
|
|
virtual void | SetOptions (CQueryOptions *opts) |
| set global query options ; deletes any pre-existing m_Options More...
|
|
| ddcObject () |
| Default constructor. More...
|
|
virtual | ~ddcObject () |
| virtual destructor does nothing More...
|
|
template<typename Visit > |
ddcObject * | Traverse (Visit &visit) |
|
template<typename Visit > |
ddcObject * | Traverse (Visit &visit) const |
|
template<typename Visit > |
ddcObject * | TraverseR (Visit &visit) |
|
template<typename Visit > |
ddcObject * | TraverseR (Visit &visit) const |
|
virtual ddcObjectList | Descendants () const |
|
single-token query: file list (UNSAFE)