flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
SLHAea::Coll::key_matches Struct Reference

#include <slhaea.h>

Collaboration diagram for SLHAea::Coll::key_matches:
Collaboration graph

Public Member Functions

 key_matches (const key_type &blockName)
 
bool operator() (const value_type &block) const
 
void set_key (const key_type &blockName)
 

Private Attributes

key_type name_
 

Detailed Description

Unary predicate that checks if a provided name matches the name of a Block.

Definition at line 2354 of file slhaea.h.

Constructor & Destructor Documentation

◆ key_matches()

SLHAea::Coll::key_matches::key_matches ( const key_type blockName)
inlineexplicit

Definition at line 2357 of file slhaea.h.

Member Function Documentation

◆ operator()()

bool SLHAea::Coll::key_matches::operator() ( const value_type block) const
inline

Definition at line 2360 of file slhaea.h.

References SLHAea::Coll::block(), SLHAea::Block::name(), and name_.

◆ set_key()

void SLHAea::Coll::key_matches::set_key ( const key_type blockName)
inline

Definition at line 2364 of file slhaea.h.

References name_.

Member Data Documentation

◆ name_

key_type SLHAea::Coll::key_matches::name_
private

Definition at line 2368 of file slhaea.h.

Referenced by operator()(), and set_key().


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