Octopus 16.0
real-space, real-time, TDDFT code
pseudopotential::set Class Reference

#include <set.hpp>

Classes

struct  element_values
 
class  iterator
 

Public Member Functions

 set (const std::string &dirname)
 
bool has (const element &el) const
 
std::string file_path (const element &el) const
 
int lmax (const element &el) const
 
int llocal (const element &el) const
 
void generate_element_map (const std::string &dirname)
 
void load_element_map (const std::string &dirname)
 
iterator begin ()
 
iterator end ()
 

Static Public Member Functions

static std::stringltrim (std::string &str, const std::string &chars="\t\n\v\f\r ")
 
static std::stringrtrim (std::string &str, const std::string &chars="\t\n\v\f\r ")
 
static std::string trim (std::string str, const std::string &chars="\t\n\v\f\r ")
 

Private Types

typedef std::map< std::string, element_valueselement_map
 

Private Attributes

element_map map_
 
bool automatic_
 

Member Typedef Documentation

◆ element_map

Constructor & Destructor Documentation

◆ set()

pseudopotential::set::set ( const std::string dirname)
inline

Member Function Documentation

◆ has()

bool pseudopotential::set::has ( const element el) const
inline

◆ file_path()

std::string pseudopotential::set::file_path ( const element el) const
inline

◆ lmax()

int pseudopotential::set::lmax ( const element el) const
inline

◆ llocal()

int pseudopotential::set::llocal ( const element el) const
inline

◆ generate_element_map()

void pseudopotential::set::generate_element_map ( const std::string dirname)
inline

◆ load_element_map()

void pseudopotential::set::load_element_map ( const std::string dirname)
inline

◆ ltrim()

static std::string & pseudopotential::set::ltrim ( std::string str,
const std::string chars = "\t\n\v\f\r " 
)
inlinestatic

◆ rtrim()

static std::string & pseudopotential::set::rtrim ( std::string str,
const std::string chars = "\t\n\v\f\r " 
)
inlinestatic

◆ trim()

static std::string pseudopotential::set::trim ( std::string  str,
const std::string chars = "\t\n\v\f\r " 
)
inlinestatic

◆ begin()

iterator pseudopotential::set::begin ( )
inline

◆ end()

iterator pseudopotential::set::end ( )
inline

Member Data Documentation

◆ map_

element_map pseudopotential::set::map_
private

◆ automatic_

bool pseudopotential::set::automatic_
private

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