Rosetta  2016.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Private Member Functions | Private Attributes | List of all members
core::chemical::AtomProperties Class Reference

#include <AtomProperties.hh>

Inheritance diagram for core::chemical::AtomProperties:
Inheritance graph
[legend]

Public Member Functions

 AtomProperties ()
 Default constructor. More...
 
 AtomProperties (AtomProperties const &object_to_copy)
 Copy constructor. More...
 
virtual ~AtomProperties ()
 
AtomPropertiesoperator= (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< boolatom_property_status_
 

Detailed Description

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.

Constructor & Destructor Documentation

core::chemical::AtomProperties::AtomProperties ( )

Default constructor.

References init().

core::chemical::AtomProperties::AtomProperties ( AtomProperties const &  object_to_copy)

Copy constructor.

References copy_data().

core::chemical::AtomProperties::~AtomProperties ( )
virtual

Member Function Documentation

void core::chemical::AtomProperties::copy_data ( AtomProperties to,
AtomProperties const &  from 
)
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().

bool core::chemical::AtomProperties::has_property ( AtomProperty const  property) const
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_.

void core::chemical::AtomProperties::init ( )
private
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_.

void core::chemical::AtomProperties::set_property ( AtomProperty const  property,
bool const  setting 
)
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_.

void core::chemical::AtomProperties::show ( std::ostream &  output = std::cout) const
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<<().

Member Data Documentation

utility::vector1< bool > core::chemical::AtomProperties::atom_property_status_
private

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