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

#include <cifdoc.hpp>

Public Types

using iterator = IndirectIter< Row, std::string >
 
using const_iterator = IndirectIter< const Row, const std::string >
 

Public Member Functions

std::string & value_at_unsafe (int pos)
 
std::string & value_at (int pos)
 
const std::string & value_at (int pos) const
 
std::string & at (int n)
 
const std::string & at (int n) const
 
std::string & operator[] (size_t n)
 
const std::string & operator[] (size_t n) const
 
std::string * ptr_at (int n)
 
const std::string * ptr_at (int n) const
 
bool has (size_t n) const
 
bool has2 (size_t n) const
 
const std::string & one_of (size_t n1, size_t n2) const
 
size_t size () const
 
std::string str (int n) const
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Public Attributes

Tabletab
 
int row_index
 

Detailed Description

Definition at line 289 of file cifdoc.hpp.

Member Typedef Documentation

◆ iterator

Definition at line 337 of file cifdoc.hpp.

◆ const_iterator

Definition at line 338 of file cifdoc.hpp.

Member Function Documentation

◆ value_at_unsafe()

std::string & gemmi::cif::Table::Row::value_at_unsafe ( int  pos)
inline

Definition at line 710 of file cifdoc.hpp.

◆ value_at() [1/2]

std::string & gemmi::cif::Table::Row::value_at ( int  pos)
inline

Definition at line 294 of file cifdoc.hpp.

◆ value_at() [2/2]

const std::string & gemmi::cif::Table::Row::value_at ( int  pos) const
inline

Definition at line 299 of file cifdoc.hpp.

◆ at() [1/2]

std::string & gemmi::cif::Table::Row::at ( int  n)
inline

Definition at line 303 of file cifdoc.hpp.

◆ at() [2/2]

const std::string & gemmi::cif::Table::Row::at ( int  n) const
inline

Definition at line 306 of file cifdoc.hpp.

◆ operator[]() [1/2]

std::string & gemmi::cif::Table::Row::operator[] ( size_t  n)
inline

Definition at line 700 of file cifdoc.hpp.

◆ operator[]() [2/2]

const std::string & gemmi::cif::Table::Row::operator[] ( size_t  n) const
inline

Definition at line 309 of file cifdoc.hpp.

◆ ptr_at() [1/2]

std::string * gemmi::cif::Table::Row::ptr_at ( int  n)
inline

Definition at line 313 of file cifdoc.hpp.

◆ ptr_at() [2/2]

const std::string * gemmi::cif::Table::Row::ptr_at ( int  n) const
inline

Definition at line 317 of file cifdoc.hpp.

◆ has()

bool gemmi::cif::Table::Row::has ( size_t  n) const
inline

Definition at line 321 of file cifdoc.hpp.

◆ has2()

bool gemmi::cif::Table::Row::has2 ( size_t  n) const
inline

Definition at line 322 of file cifdoc.hpp.

◆ one_of()

const std::string & gemmi::cif::Table::Row::one_of ( size_t  n1,
size_t  n2 
) const
inline

Definition at line 324 of file cifdoc.hpp.

◆ size()

size_t gemmi::cif::Table::Row::size ( ) const
inline

Definition at line 333 of file cifdoc.hpp.

◆ str()

std::string gemmi::cif::Table::Row::str ( int  n) const
inline

Definition at line 335 of file cifdoc.hpp.

◆ begin() [1/2]

iterator gemmi::cif::Table::Row::begin ( )
inline

Definition at line 339 of file cifdoc.hpp.

◆ end() [1/2]

iterator gemmi::cif::Table::Row::end ( )
inline

Definition at line 340 of file cifdoc.hpp.

◆ begin() [2/2]

const_iterator gemmi::cif::Table::Row::begin ( ) const
inline

Definition at line 341 of file cifdoc.hpp.

◆ end() [2/2]

const_iterator gemmi::cif::Table::Row::end ( ) const
inline

Definition at line 344 of file cifdoc.hpp.

Member Data Documentation

◆ tab

Table& gemmi::cif::Table::Row::tab

Definition at line 290 of file cifdoc.hpp.

◆ row_index

int gemmi::cif::Table::Row::row_index

Definition at line 291 of file cifdoc.hpp.


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