KSeExpr  4.0.4.0
Public Member Functions | Private Attributes | List of all members
KSeExpr::SpecExaminer Class Reference

Examiner that builds a list of specs potentially used in widgets (for qdgui) More...

#include <ControlSpec.h>

Inheritance diagram for KSeExpr::SpecExaminer:
KSeExpr::Examiner< true >

Public Member Functions

 SpecExaminer ()=default
 
 ~SpecExaminer ()
 
SpecExamineroperator= (const SpecExaminer &)=default
 
SpecExamineroperator= (SpecExaminer &&)=default
 
 SpecExaminer (const SpecExaminer &)=default
 
 SpecExaminer (SpecExaminer &&)=default
 
bool examine (const ExprNode *examinee) override
 
void post (const ExprNode *) override
 
void reset () override
 
int length () const
 
const ControlSpecspec (int i) const
 
std::vector< const ControlSpec * >::const_iterator begin () const
 
std::vector< const ControlSpec * >::const_iterator end () const
 
- Public Member Functions inherited from KSeExpr::Examiner< true >
virtual bool examine (T_NODE *examinee)=0
 
virtual void post (T_NODE *examinee)=0
 

Private Attributes

std::vector< const ControlSpec * > _specList
 

Additional Inherited Members

- Public Types inherited from KSeExpr::Examiner< true >
using T_NODE = typename conditional_const< ExprNode, constnode >::type
 

Detailed Description

Examiner that builds a list of specs potentially used in widgets (for qdgui)

Definition at line 119 of file ControlSpec.h.

Constructor & Destructor Documentation

◆ SpecExaminer() [1/3]

KSeExpr::SpecExaminer::SpecExaminer ( )
default

◆ ~SpecExaminer()

KSeExpr::SpecExaminer::~SpecExaminer ( )

Definition at line 15 of file ControlSpec.cpp.

References _specList.

◆ SpecExaminer() [2/3]

KSeExpr::SpecExaminer::SpecExaminer ( const SpecExaminer )
default

◆ SpecExaminer() [3/3]

KSeExpr::SpecExaminer::SpecExaminer ( SpecExaminer &&  )
default

Member Function Documentation

◆ begin()

std::vector< const ControlSpec * >::const_iterator KSeExpr::SpecExaminer::begin ( ) const
inline

Definition at line 43 of file ControlSpec.cpp.

References _specList.

◆ end()

std::vector< const ControlSpec * >::const_iterator KSeExpr::SpecExaminer::end ( ) const
inline

Definition at line 48 of file ControlSpec.cpp.

References _specList.

◆ examine()

bool KSeExpr::SpecExaminer::examine ( const ExprNode examinee)
override

◆ length()

int KSeExpr::SpecExaminer::length ( ) const
inline

Definition at line 135 of file ControlSpec.h.

References _specList.

◆ operator=() [1/2]

SpecExaminer& KSeExpr::SpecExaminer::operator= ( const SpecExaminer )
default

◆ operator=() [2/2]

SpecExaminer& KSeExpr::SpecExaminer::operator= ( SpecExaminer &&  )
default

◆ post()

void KSeExpr::SpecExaminer::post ( const ExprNode )
inlineoverride

Definition at line 130 of file ControlSpec.h.

◆ reset()

void KSeExpr::SpecExaminer::reset ( )
inlineoverridevirtual

Implements KSeExpr::Examiner< true >.

Definition at line 131 of file ControlSpec.h.

References _specList.

◆ spec()

const ControlSpec* KSeExpr::SpecExaminer::spec ( int  i) const
inline

Definition at line 139 of file ControlSpec.h.

References _specList.

Member Data Documentation

◆ _specList

std::vector<const ControlSpec *> KSeExpr::SpecExaminer::_specList
private

Definition at line 147 of file ControlSpec.h.

Referenced by begin(), end(), examine(), length(), reset(), spec(), and ~SpecExaminer().


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