Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::Addends Struct Reference

#include <addends.hpp>

Public Member Functions

void set (Element el, float val)
 
float get (Element el) const
 
size_t size () const
 
void clear ()
 
void subtract_z (bool except_hydrogen=false)
 

Public Attributes

std::array< float,(int) El::ENDvalues = {}
 

Detailed Description

Definition at line 14 of file addends.hpp.

Member Function Documentation

◆ set()

void gemmi::Addends::set ( Element  el,
float  val 
)
inline

Definition at line 17 of file addends.hpp.

◆ get()

float gemmi::Addends::get ( Element  el) const
inline

Definition at line 18 of file addends.hpp.

◆ size()

size_t gemmi::Addends::size ( ) const
inline

Definition at line 19 of file addends.hpp.

◆ clear()

void gemmi::Addends::clear ( )
inline

Definition at line 20 of file addends.hpp.

◆ subtract_z()

void gemmi::Addends::subtract_z ( bool  except_hydrogen = false)
inline

Definition at line 24 of file addends.hpp.

Member Data Documentation

◆ values

std::array<float, (int)El::END> gemmi::Addends::values = {}

Definition at line 15 of file addends.hpp.


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