Gemmi C++ API
Loading...
Searching...
No Matches
Namespaces | Functions
pdb_id.hpp File Reference
#include <cctype>
#include <cstdlib>
#include <string>
#include "fail.hpp"
#include "util.hpp"

Go to the source code of this file.

Namespaces

namespace  gemmi
 

Functions

bool gemmi::is_pdb_code (const std::string &str)
 
std::string gemmi::expand_pdb_code_to_path (const std::string &code, char type, bool throw_if_unset=false)
 Call it after checking the code with gemmi::is_pdb_code(code).
 
std::string gemmi::expand_if_pdb_code (const std::string &input, char type='M')