OpenCAP
Electronic structure of metastable states
Classes | Macros | Functions
keywords.h File Reference

List of valid keywords. More...

#include <map>
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  open_key
 Struct denoting a keyword which can have many different values. More...
 
struct  closed_key
 Struct denoting a keyword which can only have certain values. More...
 

Macros

#define INCLUDE_KEYWORDS_H_
 

Functions

bool check_keyword (std::string my_key, std::string my_section, std::string my_value)
 
std::map< std::string, std::string > get_params_for_field (std::map< std::string, std::string > params, std::string field)
 

Detailed Description

List of valid keywords.

Macro Definition Documentation

◆ INCLUDE_KEYWORDS_H_

#define INCLUDE_KEYWORDS_H_

Function Documentation

◆ check_keyword()

bool check_keyword ( std::string  my_key,
std::string  my_section,
std::string  my_value 
)

Checks whether a keyword is valid.

◆ get_params_for_field()

std::map<std::string,std::string> get_params_for_field ( std::map< std::string, std::string >  params,
std::string  field 
)

Collects parameters which apply to input field.