MySQL 8.4.2
Source Code Documentation
Query_terms< visit_order, visit_leaves > Class Template Reference

Containing class for iterator over the query term tree. More...

#include <query_term.h>

Classes

class  Query_term_iterator
 The iterator class itself is private. More...
 

Public Member Functions

 Query_terms (Query_term *root)
 Construct an iterator starting at root. More...
 
Query_term_iterator begin ()
 
Query_term_iterator end ()
 

Private Attributes

Query_termm_root
 

Detailed Description

template<Visit_order visit_order, Visit_leaves visit_leaves>
class Query_terms< visit_order, visit_leaves >

Containing class for iterator over the query term tree.

The structure is in part dictated by C++ conventions for iterators.

Template Parameters
visit_orderindicates whether pre or post order visiting is requested
visit_leavesindicates whether to visit the leaf nodes (query blocks)

Constructor & Destructor Documentation

◆ Query_terms()

template<Visit_order visit_order, Visit_leaves visit_leaves>
Query_terms< visit_order, visit_leaves >::Query_terms ( Query_term root)
inline

Construct an iterator starting at root.

Member Function Documentation

◆ begin()

template<Visit_order visit_order, Visit_leaves visit_leaves>
Query_term_iterator Query_terms< visit_order, visit_leaves >::begin ( void  )
inline

◆ end()

template<Visit_order visit_order, Visit_leaves visit_leaves>
Query_term_iterator Query_terms< visit_order, visit_leaves >::end ( void  )
inline

Member Data Documentation

◆ m_root

template<Visit_order visit_order, Visit_leaves visit_leaves>
Query_term* Query_terms< visit_order, visit_leaves >::m_root
private

The documentation for this class was generated from the following file: