Md4qt

MD::details::AlgoVisitor< Trait >::IncrementNestingLevel Struct Reference

#include <algo.h>

Public Member Functions

 IncrementNestingLevel (unsigned int &l, unsigned int m, const typename Trait::template Vector< ItemType > &t)
 
 ~IncrementNestingLevel ()
 
bool allowed (ItemType t) const
 
bool nextAllowed () const
 

Public Attributes

unsigned int & m_level
 
unsigned int m_maxNestingLevel
 
const Trait::template Vector< ItemType > & m_types
 

Detailed Description

template<class Trait>
struct MD::details::AlgoVisitor< Trait >::IncrementNestingLevel

Auxiliary structure to increment/decrement nesting level during walking through the document, and checking circumstances for the algorithm.

Definition at line 333 of file algo.h.

Constructor & Destructor Documentation

◆ IncrementNestingLevel()

template<class Trait >
MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::IncrementNestingLevel ( unsigned int & l,
unsigned int m,
const typename Trait::template Vector< ItemType > & t )
inline

Definition at line 334 of file algo.h.

◆ ~IncrementNestingLevel()

template<class Trait >
MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::~IncrementNestingLevel ( )
inline

Definition at line 344 of file algo.h.

Member Function Documentation

◆ allowed()

template<class Trait >
bool MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::allowed ( ItemType t) const
inline
Returns
Is this item type allowed at this nesting level.

Definition at line 350 of file algo.h.

◆ nextAllowed()

template<class Trait >
bool MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::nextAllowed ( ) const
inline
Returns
Is next nesting level allowed.

Definition at line 357 of file algo.h.

Member Data Documentation

◆ m_level

template<class Trait >
unsigned int& MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::m_level

Reference to nesting level.

Definition at line 363 of file algo.h.

◆ m_maxNestingLevel

template<class Trait >
unsigned int MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::m_maxNestingLevel

Maximum allowed nesting level.

Definition at line 365 of file algo.h.

◆ m_types

template<class Trait >
const Trait::template Vector<ItemType>& MD::details::AlgoVisitor< Trait >::IncrementNestingLevel::m_types

Reference to list of allowed types.

Definition at line 367 of file algo.h.


The documentation for this struct was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:19:15 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.