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

#include <mtz.hpp>

Public Types

using iterator = StrideIter< float >
 
using const_iterator = StrideIter< const float >
 

Public Member Functions

Datasetdataset ()
 
const Datasetdataset () const
 
bool has_data () const
 
int size () const
 
size_t stride () const
 
floatoperator[] (std::size_t n)
 
float operator[] (std::size_t n) const
 
floatat (std::size_t n)
 
float at (std::size_t n) const
 
bool is_integer () const
 
const Columnget_next_column_if_type (char next_type) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

int dataset_id
 
char type
 
std::string label
 
float min_value = NAN
 
float max_value = NAN
 
std::string source
 
Mtzparent
 
std::size_t idx
 

Detailed Description

Definition at line 80 of file mtz.hpp.

Member Typedef Documentation

◆ iterator

Definition at line 112 of file mtz.hpp.

◆ const_iterator

Definition at line 122 of file mtz.hpp.

Member Function Documentation

◆ dataset() [1/2]

Dataset & gemmi::Mtz::Column::dataset ( )
inline

Definition at line 90 of file mtz.hpp.

◆ dataset() [2/2]

const Dataset & gemmi::Mtz::Column::dataset ( ) const
inline

Definition at line 91 of file mtz.hpp.

◆ has_data()

bool gemmi::Mtz::Column::has_data ( ) const
inline

Definition at line 92 of file mtz.hpp.

◆ size()

int gemmi::Mtz::Column::size ( ) const
inline

Definition at line 93 of file mtz.hpp.

◆ stride()

size_t gemmi::Mtz::Column::stride ( ) const
inline

Definition at line 94 of file mtz.hpp.

◆ operator[]() [1/2]

float & gemmi::Mtz::Column::operator[] ( std::size_t  n)
inline

Definition at line 95 of file mtz.hpp.

◆ operator[]() [2/2]

float gemmi::Mtz::Column::operator[] ( std::size_t  n) const
inline

Definition at line 96 of file mtz.hpp.

◆ at() [1/2]

float & gemmi::Mtz::Column::at ( std::size_t  n)
inline

Definition at line 97 of file mtz.hpp.

◆ at() [2/2]

float gemmi::Mtz::Column::at ( std::size_t  n) const
inline

Definition at line 98 of file mtz.hpp.

◆ is_integer()

bool gemmi::Mtz::Column::is_integer ( ) const
inline

Definition at line 99 of file mtz.hpp.

◆ get_next_column_if_type()

const Column * gemmi::Mtz::Column::get_next_column_if_type ( char  next_type) const
inline

Definition at line 103 of file mtz.hpp.

◆ begin() [1/2]

iterator gemmi::Mtz::Column::begin ( )
inline

Definition at line 113 of file mtz.hpp.

◆ end() [1/2]

iterator gemmi::Mtz::Column::end ( )
inline

Definition at line 118 of file mtz.hpp.

◆ begin() [2/2]

const_iterator gemmi::Mtz::Column::begin ( ) const
inline

Definition at line 123 of file mtz.hpp.

◆ end() [2/2]

const_iterator gemmi::Mtz::Column::end ( ) const
inline

Definition at line 124 of file mtz.hpp.

Member Data Documentation

◆ dataset_id

int gemmi::Mtz::Column::dataset_id

Definition at line 81 of file mtz.hpp.

◆ type

char gemmi::Mtz::Column::type

Definition at line 82 of file mtz.hpp.

◆ label

std::string gemmi::Mtz::Column::label

Definition at line 83 of file mtz.hpp.

◆ min_value

float gemmi::Mtz::Column::min_value = NAN

Definition at line 84 of file mtz.hpp.

◆ max_value

float gemmi::Mtz::Column::max_value = NAN

Definition at line 85 of file mtz.hpp.

◆ source

std::string gemmi::Mtz::Column::source

Definition at line 86 of file mtz.hpp.

◆ parent

Mtz* gemmi::Mtz::Column::parent

Definition at line 87 of file mtz.hpp.

◆ idx

std::size_t gemmi::Mtz::Column::idx

Definition at line 88 of file mtz.hpp.


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