Rosetta 3.5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Attributes | List of all members
protocols::genetic_algorithm::EntityElement Class Referenceabstract

Entity element. More...

#include <Entity.hh>

Inheritance diagram for protocols::genetic_algorithm::EntityElement:
Inheritance graph
[legend]
Collaboration diagram for protocols::genetic_algorithm::EntityElement:
Collaboration graph
[legend]

Public Types

typedef core::Size Size
 
typedef
utility::pointer::ReferenceCount 
parent
 

Public Member Functions

 EntityElement ()
 
 EntityElement (Size index)
 
 EntityElement (std::string &word)
 
virtual ~EntityElement ()
 
virtual EntityElementOP clone ()=0
 
virtual EntityElementOP fresh_instance ()=0
 
Size index () const
 
void index (Size index)
 
virtual Size hash () const =0
 
virtual bool operator< (EntityElement const &rhs) const
 
virtual bool operator== (EntityElement const &rhs) const
 
virtual EntityElement const & operator= (EntityElement const &rhs)
 
virtual std::string to_string () const
 
virtual std::string name () const =0
 

Private Attributes

Size index_
 

Detailed Description

Entity element.

Definition at line 46 of file Entity.hh.

Member Typedef Documentation

Definition at line 49 of file Entity.hh.

Definition at line 48 of file Entity.hh.

Constructor & Destructor Documentation

protocols::genetic_algorithm::EntityElement::EntityElement ( )

Definition at line 38 of file Entity.cc.

protocols::genetic_algorithm::EntityElement::EntityElement ( Size  index)

Definition at line 39 of file Entity.cc.

protocols::genetic_algorithm::EntityElement::EntityElement ( std::string &  word)

Definition at line 40 of file Entity.cc.

References index_.

protocols::genetic_algorithm::EntityElement::~EntityElement ( )
virtual

Definition at line 62 of file Entity.cc.

Member Function Documentation

virtual EntityElementOP protocols::genetic_algorithm::EntityElement::clone ( )
pure virtual
virtual EntityElementOP protocols::genetic_algorithm::EntityElement::fresh_instance ( )
pure virtual
virtual Size protocols::genetic_algorithm::EntityElement::hash ( ) const
pure virtual
EntityElement::Size protocols::genetic_algorithm::EntityElement::index ( ) const

Definition at line 65 of file Entity.cc.

References index_.

void protocols::genetic_algorithm::EntityElement::index ( Size  index)

Definition at line 64 of file Entity.cc.

References index_.

virtual std::string protocols::genetic_algorithm::EntityElement::name ( ) const
pure virtual

Implemented in protocols::multistate_design::PosType.

Referenced by to_string().

bool protocols::genetic_algorithm::EntityElement::operator< ( EntityElement const &  rhs) const
virtual

Definition at line 68 of file Entity.cc.

References index_.

EntityElement const & protocols::genetic_algorithm::EntityElement::operator= ( EntityElement const &  rhs)
virtual

Definition at line 78 of file Entity.cc.

References index_.

Referenced by protocols::multistate_design::PosType::operator=().

bool protocols::genetic_algorithm::EntityElement::operator== ( EntityElement const &  rhs) const
virtual

Definition at line 73 of file Entity.cc.

References index_.

std::string protocols::genetic_algorithm::EntityElement::to_string ( ) const
virtual

Reimplemented in protocols::multistate_design::PosType.

Definition at line 86 of file Entity.cc.

References index_, and name().

Referenced by protocols::multistate_design::PosType::to_string().

Member Data Documentation

Size protocols::genetic_algorithm::EntityElement::index_
private

Definition at line 72 of file Entity.hh.

Referenced by EntityElement(), index(), operator<(), operator=(), operator==(), and to_string().


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