flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY

#include <slhaea.h>

Collaboration diagram for SLHAea::Block::key_matches:
Collaboration graph

Public Member Functions

 key_matches (const key_type &key)
 
bool operator() (const value_type &line) const
 
void set_key (const key_type &key)
 

Static Private Member Functions

static bool parts_equal (const std::string &key_part, const std::string &field)
 

Private Attributes

key_type key_
 

Detailed Description

Unary predicate that checks if a provided key matches a Line.

Definition at line 1528 of file slhaea.h.

Constructor & Destructor Documentation

◆ key_matches()

SLHAea::Block::key_matches::key_matches ( const key_type key)
inlineexplicit

Definition at line 1531 of file slhaea.h.

Member Function Documentation

◆ operator()()

bool SLHAea::Block::key_matches::operator() ( const value_type line) const
inline

Definition at line 1534 of file slhaea.h.

References SLHAea::Line::begin(), key_, parts_equal(), and SLHAea::Line::size().

◆ parts_equal()

static bool SLHAea::Block::key_matches::parts_equal ( const std::string &  key_part,
const std::string &  field 
)
inlinestaticprivate

Definition at line 1546 of file slhaea.h.

Referenced by operator()().

◆ set_key()

void SLHAea::Block::key_matches::set_key ( const key_type key)
inline

Definition at line 1541 of file slhaea.h.

References key_.

Referenced by SLHAea::Coll::key_matches_block_def::set_key().

Member Data Documentation

◆ key_

key_type SLHAea::Block::key_matches::key_
private

Definition at line 1550 of file slhaea.h.

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


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