![]() |
Rosetta
2016.11
|
#include <AtomProperties.hh>
Public Member Functions | |
AtomProperties () | |
Default constructor. More... | |
AtomProperties (AtomProperties const &object_to_copy) | |
Copy constructor. More... | |
virtual | ~AtomProperties () |
AtomProperties & | operator= (AtomProperties const &object_to_copy) |
bool | operator== (AtomProperties const &properties) const |
virtual void | show (std::ostream &output=std::cout) const |
Generate string representation of AtomProperties for debugging purposes. More... | |
bool | has_property (AtomProperty const property) const |
Get whether or not this Atom has the requested property. More... | |
bool | has_property (std::string const &property) const |
Get whether or not this Atom has the requested property by string. More... | |
void | set_property (AtomProperty const property, bool const setting) |
Set the status of the given property for this Atom. More... | |
void | set_property (std::string const &property, bool const setting) |
Set the status of the given property for this Atom by string. More... | |
utility::vector1< std::string > | get_list_of_properties () const |
Generate and return a list of strings representing the properties of this Atom. More... | |
Private Member Functions | |
void | init () |
void | copy_data (AtomProperties &to, AtomProperties const &from) |
Private Attributes | |
utility::vector1< bool > | atom_property_status_ |
This is a container class for storing properties specific to a ResidueType's atoms. These properties belong to a particular ResidueType's Atoms; they do not belong to an AtomType. chemical::Atoms store both AtomTypes and AtomProperties.
core::chemical::AtomProperties::AtomProperties | ( | ) |
Default constructor.
References init().
core::chemical::AtomProperties::AtomProperties | ( | AtomProperties const & | object_to_copy | ) |
Copy constructor.
References copy_data().
|
virtual |
|
private |
References atom_property_status_.
Referenced by AtomProperties(), and operator=().
utility::vector1< std::string > core::chemical::AtomProperties::get_list_of_properties | ( | ) | const |
Generate and return a list of strings representing the properties of this Atom.
References atom_property_status_, core::chemical::FIRST_ATOM_PROPERTY, and core::chemical::N_ATOM_PROPERTIES.
Referenced by show().
|
inline |
Get whether or not this Atom has the requested property.
References atom_property_status_.
bool core::chemical::AtomProperties::has_property | ( | std::string const & | property | ) | const |
Get whether or not this Atom has the requested property by string.
References atom_property_status_.
|
private |
References atom_property_status_, and core::chemical::N_ATOM_PROPERTIES.
Referenced by AtomProperties().
AtomProperties & core::chemical::AtomProperties::operator= | ( | AtomProperties const & | object_to_copy | ) |
References copy_data().
bool core::chemical::AtomProperties::operator== | ( | AtomProperties const & | properties | ) | const |
References atom_property_status_.
|
inline |
Set the status of the given property for this Atom.
References atom_property_status_.
void core::chemical::AtomProperties::set_property | ( | std::string const & | property, |
bool const | setting | ||
) |
Set the status of the given property for this Atom by string.
References atom_property_status_.
|
virtual |
Generate string representation of AtomProperties for debugging purposes.
References get_list_of_properties(), and update_ResidueType_enum_files::properties.
Referenced by core::chemical::operator<<().
|
private |
Referenced by copy_data(), get_list_of_properties(), has_property(), init(), operator==(), and set_property().