Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gemmi::AsuData< T > Struct Template Reference

#include <asudata.hpp>

Public Member Functions

size_t stride () const
 
size_t size () const
 
Miller get_hkl (size_t n) const
 
double get_f (size_t n) const
 
double get_phi (size_t n) const
 
const UnitCellunit_cell () const
 
const SpaceGroupspacegroup () const
 
void ensure_sorted ()
 
void ensure_asu (bool tnt_asu=false)
 
template<typename DataProxy >
void load_values (const DataProxy &proxy, const std::string &label, bool as_is=false)
 
template<int N, typename DataProxy >
void load_values (const DataProxy &proxy, const std::array< std::string, N > &labels, bool as_is=false)
 

Public Attributes

std::vector< HklValue< T > > v
 

Detailed Description

template<typename T>
struct gemmi::AsuData< T >

Definition at line 138 of file asudata.hpp.

Member Function Documentation

◆ stride()

template<typename T >
size_t gemmi::AsuData< T >::stride ( ) const
inline

Definition at line 143 of file asudata.hpp.

◆ size()

template<typename T >
size_t gemmi::AsuData< T >::size ( ) const
inline

Definition at line 144 of file asudata.hpp.

◆ get_hkl()

template<typename T >
Miller gemmi::AsuData< T >::get_hkl ( size_t  n) const
inline

Definition at line 145 of file asudata.hpp.

◆ get_f()

template<typename T >
double gemmi::AsuData< T >::get_f ( size_t  n) const
inline

Definition at line 146 of file asudata.hpp.

◆ get_phi()

template<typename T >
double gemmi::AsuData< T >::get_phi ( size_t  n) const
inline

Definition at line 147 of file asudata.hpp.

◆ unit_cell()

template<typename T >
const UnitCell & gemmi::AsuData< T >::unit_cell ( ) const
inline

Definition at line 148 of file asudata.hpp.

◆ spacegroup()

template<typename T >
const SpaceGroup * gemmi::AsuData< T >::spacegroup ( ) const
inline

Definition at line 149 of file asudata.hpp.

◆ ensure_sorted()

template<typename T >
void gemmi::AsuData< T >::ensure_sorted ( )
inline

Definition at line 150 of file asudata.hpp.

◆ ensure_asu()

template<typename T >
void gemmi::AsuData< T >::ensure_asu ( bool  tnt_asu = false)
inline

Definition at line 155 of file asudata.hpp.

◆ load_values() [1/2]

template<typename T >
template<typename DataProxy >
void gemmi::AsuData< T >::load_values ( const DataProxy &  proxy,
const std::string &  label,
bool  as_is = false 
)
inline

Definition at line 171 of file asudata.hpp.

◆ load_values() [2/2]

template<typename T >
template<int N, typename DataProxy >
void gemmi::AsuData< T >::load_values ( const DataProxy &  proxy,
const std::array< std::string, N > &  labels,
bool  as_is = false 
)
inline

Definition at line 189 of file asudata.hpp.

Member Data Documentation

◆ v

template<typename T >
std::vector<HklValue<T> > gemmi::AsuData< T >::v

Definition at line 139 of file asudata.hpp.


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