OpenStructure
|
#include <chain_base.hh>
Inherits GenericPropContainer< ChainBase >.
Inherited by ChainHandle, and ChainView.
Public Member Functions | |
ChainBase () | |
ChainBase (const impl::ChainImplPtr &impl) | |
String | GetName () const |
const impl::ChainImplPtr & | Impl () const |
impl::ChainImplPtr & | Impl () |
Handle validity | |
operator bool () const | |
bool | IsValid () const |
Public Member Functions inherited from GenericPropContainer< ChainBase > | |
void | ClearProps () |
void | SetStringProp (const String &key, const String &value) |
void | SetFloatProp (const String &key, Real value) |
void | SetIntProp (const String &key, int value) |
void | SetBoolProp (const String &key, bool value) |
void | RemoveProp (const String &key) |
Public Member Functions inherited from ConstGenericPropContainer< ChainBase > | |
bool | HasProp (const String &key) const |
String | GetPropAsString (const String &key) const |
String | GetStringProp (const String &key) const |
String | GetStringProp (const String &key, const String &def) const |
Real | GetFloatProp (const String &key) const |
Real | GetFloatProp (const String &key, Real def) const |
int | GetIntProp (const String &key) const |
int | GetIntProp (const String &key, int def) const |
bool | GetBoolProp (const String &key) const |
bool | GetBoolProp (const String &key, bool def) const |
std::map< String, GenericPropValue > | GetPropMap () const |
std::vector< String > | GetPropList () const |
Protected Member Functions | |
GenericPropContainerImpl * | GpImpl () |
const GenericPropContainerImpl * | GpImpl () const |
void | CheckValidity () const |
Friends | |
class | ConstGenericPropContainer< ChainBase > |
base class for ChainHandle and ChainView
This class implements the common functionality of ChainHandle and ChainView.
Like residues and atoms, chains are generic property containers and a such able to store user-defined properties.
Chains are linear chains of residues. Peptide chains are ordered from N- to C-terminus.
Definition at line 38 of file chain_base.hh.
ChainBase | ( | ) |
ChainBase | ( | const impl::ChainImplPtr & | impl | ) |
|
protected |
String GetName | ( | ) | const |
|
protected |
|
protected |
|
inline |
Definition at line 62 of file chain_base.hh.
|
inline |
Definition at line 66 of file chain_base.hh.
|
inline |
check validity of handle
Reimplemented in ChainView.
Definition at line 57 of file chain_base.hh.
|
inline |
check validity of handle
check, whether the chain handle points to a valid handle.
Reimplemented in ChainView.
Definition at line 54 of file chain_base.hh.
|
friend |
Definition at line 59 of file chain_base.hh.