Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
Node< _Tp > Class Template Reference

#include <lalr.h>

+ Collaboration diagram for Node< _Tp >:

Public Types

typedef std::set< Node< _Tp > > Repository
 
typedef Repository::iterator iterator
 
typedef std::list< iterator >::iterator edge_iterator
 

Public Member Functions

std::pair< edge_iterator, bool > insertEdge (iterator other) const
 
edge_iterator begin () const
 
edge_iterator end () const
 
bool operator== (const Node< _Tp > &other) const
 
bool operator!= (const Node< _Tp > &other) const
 
bool operator< (const Node< _Tp > &other) const
 

Static Public Member Functions

static iterator get (_Tp data)
 
static iterator begin_nodes ()
 
static iterator end_nodes ()
 
static Repositoryrepository ()
 

Public Attributes

bool root
 
int dfn
 
_Tp data
 
std::list< iteratorouts
 

Protected Member Functions

 Node ()
 
 Node (_Tp d)
 

Detailed Description

template<typename _Tp>
class Node< _Tp >

Definition at line 135 of file lalr.h.

Member Typedef Documentation

◆ edge_iterator

template<typename _Tp >
typedef std::list<iterator>::iterator Node< _Tp >::edge_iterator

Definition at line 140 of file lalr.h.

◆ iterator

template<typename _Tp >
typedef Repository::iterator Node< _Tp >::iterator

Definition at line 139 of file lalr.h.

◆ Repository

template<typename _Tp >
typedef std::set<Node<_Tp> > Node< _Tp >::Repository

Definition at line 138 of file lalr.h.

Constructor & Destructor Documentation

◆ Node() [1/2]

template<typename _Tp >
Node< _Tp >::Node ( )
inlineprotected

Definition at line 181 of file lalr.h.

◆ Node() [2/2]

template<typename _Tp >
Node< _Tp >::Node ( _Tp d)
inlineprotected

Definition at line 183 of file lalr.h.

Member Function Documentation

◆ begin()

template<typename _Tp >
edge_iterator Node< _Tp >::begin ( ) const
inline

Definition at line 147 of file lalr.h.

References Node< _Tp >::outs.

◆ begin_nodes()

template<typename _Tp >
static iterator Node< _Tp >::begin_nodes ( )
inlinestatic

Definition at line 162 of file lalr.h.

References Node< _Tp >::repository().

Referenced by Automaton::buildIncludesAndFollows(), Automaton::buildReads(), and DotGraph::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ end()

template<typename _Tp >
edge_iterator Node< _Tp >::end ( ) const
inline

Definition at line 150 of file lalr.h.

References Node< _Tp >::outs.

◆ end_nodes()

template<typename _Tp >
static iterator Node< _Tp >::end_nodes ( )
inlinestatic

Definition at line 165 of file lalr.h.

References Node< _Tp >::repository().

Referenced by Automaton::buildIncludesAndFollows(), Automaton::buildReads(), and DotGraph::operator()().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ get()

template<typename _Tp >
Node< _Tp >::iterator Node< _Tp >::get ( _Tp data)
static

Definition at line 188 of file lalr.h.

References QSet< T >::find(), QSet< T >::insert(), and it.

Referenced by Automaton::buildIncludesDigraph(), and Automaton::buildReadsDigraph().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ insertEdge()

template<typename _Tp >
std::pair< typename std::list< typename Node< _Tp >::iterator >::iterator, bool > Node< _Tp >::insertEdge ( iterator other) const

Definition at line 200 of file lalr.h.

References QSet< T >::end(), it, and other().

+ Here is the call graph for this function:

◆ operator!=()

template<typename _Tp >
bool Node< _Tp >::operator!= ( const Node< _Tp > & other) const
inline

Definition at line 156 of file lalr.h.

References other().

+ Here is the call graph for this function:

◆ operator<()

template<typename _Tp >
bool Node< _Tp >::operator< ( const Node< _Tp > & other) const
inline

Definition at line 159 of file lalr.h.

References other().

+ Here is the call graph for this function:

◆ operator==()

template<typename _Tp >
bool Node< _Tp >::operator== ( const Node< _Tp > & other) const
inline

Definition at line 153 of file lalr.h.

References other().

+ Here is the call graph for this function:

◆ repository()

template<typename _Tp >
static Repository & Node< _Tp >::repository ( )
inlinestatic

Definition at line 168 of file lalr.h.

Referenced by Node< _Tp >::begin_nodes(), and Node< _Tp >::end_nodes().

+ Here is the caller graph for this function:

Member Data Documentation

◆ data

template<typename _Tp >
_Tp Node< _Tp >::data
mutable

Definition at line 177 of file lalr.h.

◆ dfn

template<typename _Tp >
int Node< _Tp >::dfn
mutable

Definition at line 176 of file lalr.h.

◆ outs

template<typename _Tp >
std::list<iterator> Node< _Tp >::outs
mutable

Definition at line 178 of file lalr.h.

Referenced by Node< _Tp >::begin(), and Node< _Tp >::end().

◆ root

template<typename _Tp >
bool Node< _Tp >::root
mutable

Definition at line 175 of file lalr.h.


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