OpenStructure
Data Structures | Public Member Functions
Diag Class Reference

#include <diag.hh>

Public Member Functions

 Diag (DiagType typ, const char *fmt)
 
DiagType GetType () const
 
DiagAddAtom (mol::AtomHandle atom)
 
DiagAddResidue (mol::ResidueHandle res)
 
DiagAddChain (mol::ChainHandle chain)
 
DiagAddInt (int int_val)
 
DiagAddString (const String &str)
 
mol::AtomHandle GetAtom (size_t index) const
 
mol::ResidueHandle GetResidue (size_t index) const
 
mol::ChainHandle GetChain (size_t index) const
 
String Format (bool colored=true) const
 

Detailed Description

Definition at line 44 of file diag.hh.

Constructor & Destructor Documentation

◆ Diag()

Diag ( DiagType  typ,
const char *  fmt 
)
inline

Definition at line 46 of file diag.hh.

Member Function Documentation

◆ AddAtom()

Diag& AddAtom ( mol::AtomHandle  atom)
inline

Definition at line 48 of file diag.hh.

◆ AddChain()

Diag& AddChain ( mol::ChainHandle  chain)
inline

Definition at line 61 of file diag.hh.

◆ AddInt()

Diag& AddInt ( int  int_val)
inline

Definition at line 67 of file diag.hh.

◆ AddResidue()

Diag& AddResidue ( mol::ResidueHandle  res)
inline

Definition at line 55 of file diag.hh.

◆ AddString()

Diag& AddString ( const String str)
inline

Definition at line 73 of file diag.hh.

◆ Format()

String Format ( bool  colored = true) const

◆ GetAtom()

mol::AtomHandle GetAtom ( size_t  index) const
inline

Definition at line 79 of file diag.hh.

◆ GetChain()

mol::ChainHandle GetChain ( size_t  index) const
inline

Definition at line 89 of file diag.hh.

◆ GetResidue()

mol::ResidueHandle GetResidue ( size_t  index) const
inline

Definition at line 84 of file diag.hh.

◆ GetType()

DiagType GetType ( ) const
inline

Definition at line 47 of file diag.hh.


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