occ
Loading...
Searching...
No Matches
occ::io::CifParser Class Reference

#include <cifparser.h>

Public Member Functions

 CifParser ()
 
const std::vector< AtomData > & atom_data () const
 
const SymmetryDatasymmetry_data () const
 
const CellDatacell_data () const
 
bool symmetry_valid () const
 
bool cell_valid () const
 
bool crystal_valid () const
 
const std::string & failure_description () const
 
size_t num_atoms () const
 
std::optional< occ::crystal::Crystalparse_crystal_from_file (const std::string &)
 
std::optional< occ::crystal::Crystalparse_crystal_from_string (const std::string &)
 
std::optional< occ::crystal::Crystalparse_crystal_from_document (const gemmi::cif::Document &)
 

Static Public Member Functions

static bool is_likely_cif_filename (const std::string &)
 

Constructor & Destructor Documentation

◆ CifParser()

occ::io::CifParser::CifParser ( )

Member Function Documentation

◆ atom_data()

const std::vector< AtomData > & occ::io::CifParser::atom_data ( ) const
inline

◆ cell_data()

const CellData & occ::io::CifParser::cell_data ( ) const
inline

◆ cell_valid()

bool occ::io::CifParser::cell_valid ( ) const
inline

◆ crystal_valid()

bool occ::io::CifParser::crystal_valid ( ) const
inline

◆ failure_description()

const std::string & occ::io::CifParser::failure_description ( ) const
inline

◆ is_likely_cif_filename()

static bool occ::io::CifParser::is_likely_cif_filename ( const std::string &  )
static

◆ num_atoms()

size_t occ::io::CifParser::num_atoms ( ) const
inline

◆ parse_crystal_from_document()

std::optional< occ::crystal::Crystal > occ::io::CifParser::parse_crystal_from_document ( const gemmi::cif::Document &  )

◆ parse_crystal_from_file()

std::optional< occ::crystal::Crystal > occ::io::CifParser::parse_crystal_from_file ( const std::string &  )

◆ parse_crystal_from_string()

std::optional< occ::crystal::Crystal > occ::io::CifParser::parse_crystal_from_string ( const std::string &  )

◆ symmetry_data()

const SymmetryData & occ::io::CifParser::symmetry_data ( ) const
inline

◆ symmetry_valid()

bool occ::io::CifParser::symmetry_valid ( ) const
inline

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