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

#include <seqid.hpp>

Public Member Functions

 AtomAddress ()=default
 
 AtomAddress (const std::string &ch, const ResidueId &resid, const std::string &atom, char alt='\0')
 
 AtomAddress (const std::string &ch, const SeqId &seqid, const std::string &res, const std::string &atom, char alt='\0')
 
bool operator== (const AtomAddress &o) const
 
std::string str () const
 

Public Attributes

std::string chain_name
 
ResidueId res_id
 
std::string atom_name
 
char altloc = '\0'
 

Detailed Description

Definition at line 124 of file seqid.hpp.

Constructor & Destructor Documentation

◆ AtomAddress() [1/3]

gemmi::AtomAddress::AtomAddress ( )
default

◆ AtomAddress() [2/3]

gemmi::AtomAddress::AtomAddress ( const std::string &  ch,
const ResidueId resid,
const std::string &  atom,
char  alt = '\0' 
)
inline

Definition at line 131 of file seqid.hpp.

◆ AtomAddress() [3/3]

gemmi::AtomAddress::AtomAddress ( const std::string &  ch,
const SeqId seqid,
const std::string &  res,
const std::string &  atom,
char  alt = '\0' 
)
inline

Definition at line 134 of file seqid.hpp.

Member Function Documentation

◆ operator==()

bool gemmi::AtomAddress::operator== ( const AtomAddress o) const
inline

Definition at line 137 of file seqid.hpp.

◆ str()

std::string gemmi::AtomAddress::str ( ) const
inline

Definition at line 142 of file seqid.hpp.

Member Data Documentation

◆ chain_name

std::string gemmi::AtomAddress::chain_name

Definition at line 125 of file seqid.hpp.

◆ res_id

ResidueId gemmi::AtomAddress::res_id

Definition at line 126 of file seqid.hpp.

◆ atom_name

std::string gemmi::AtomAddress::atom_name

Definition at line 127 of file seqid.hpp.

◆ altloc

char gemmi::AtomAddress::altloc = '\0'

Definition at line 128 of file seqid.hpp.


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