OpenStructure
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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 ( DiagType  typ,
const char *  fmt 
)
inline

Definition at line 46 of file diag.hh.

Member Function Documentation

Diag& AddAtom ( mol::AtomHandle  atom)
inline

Definition at line 48 of file diag.hh.

Diag& AddChain ( mol::ChainHandle  chain)
inline

Definition at line 61 of file diag.hh.

Diag& AddInt ( int  int_val)
inline

Definition at line 67 of file diag.hh.

Diag& AddResidue ( mol::ResidueHandle  res)
inline

Definition at line 55 of file diag.hh.

Diag& AddString ( const String str)
inline

Definition at line 73 of file diag.hh.

String Format ( bool  colored = true) const
mol::AtomHandle GetAtom ( size_t  index) const
inline

Definition at line 79 of file diag.hh.

mol::ChainHandle GetChain ( size_t  index) const
inline

Definition at line 89 of file diag.hh.

mol::ResidueHandle GetResidue ( size_t  index) const
inline

Definition at line 84 of file diag.hh.

DiagType GetType ( ) const
inline

Definition at line 47 of file diag.hh.


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