BALL  1.4.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Types | Public Member Functions | Private Attributes | List of all members
BALL::ConnectedToPredicate::CTPNode Class Reference

#include <BALL/KERNEL/standardPredicates.h>

Classes

struct  greater_
 

Public Types

enum  BondType {
  BONDTYPE__UNINITIALISED = 0, BONDTYPE__ANY = 1, BONDTYPE__SINGLE = 2, BONDTYPE__DOUBLE = 3,
  BONDTYPE__TRIPLE = 4, BONDTYPE__QUADRUPLE = 5, BONDTYPE__AROMATIC = 6
}
 
typedef std::list< CTPNode * >
::iterator 
Iterator
 
typedef std::list< CTPNode * >
::const_iterator 
ConstIterator
 

Public Member Functions

 CTPNode ()
 
 CTPNode (const CTPNode &node)
 
virtual ~CTPNode ()
 
virtual void destroy ()
 
void setParent (CTPNode *parent)
 
CTPNodegetParent () const
 
void addChild (CTPNode *child)
 
void removeChild (CTPNode *child)
 
::std::list< CTPNode * > & getChildren ()
 
Iterator begin ()
 
ConstIterator begin () const
 
Iterator end ()
 
ConstIterator end () const
 
Size getNumberOfChildren () const
 
void setBondType (Size type)
 
void setBondType (char type)
 
Size getBondType () const
 
char getBondTypeChar () const
 
String getSymbol () const
 
void setSymbol (const String &symbol)
 
void setFinished ()
 
void unsetFinished ()
 
bool isFinished () const
 
void setLinked ()
 
void unsetLinked ()
 
bool isLinked () const
 
void linkWith (CTPNode *partner)
 
const HashSet< CTPNode * > & getLinkSet () const
 

Private Attributes

String element_symbol_
 
Size bond_type_
 
std::list< CTPNode * > children_
 
CTPNodeparent_
 
bool finished_
 
bool linked_
 
HashSet< CTPNode * > link_set_
 

Detailed Description

Definition at line 486 of file standardPredicates.h.

Member Typedef Documentation

typedef std::list<CTPNode*>::const_iterator BALL::ConnectedToPredicate::CTPNode::ConstIterator

Definition at line 502 of file standardPredicates.h.

Definition at line 501 of file standardPredicates.h.

Member Enumeration Documentation

Enumerator
BONDTYPE__UNINITIALISED 
BONDTYPE__ANY 
BONDTYPE__SINGLE 
BONDTYPE__DOUBLE 
BONDTYPE__TRIPLE 
BONDTYPE__QUADRUPLE 
BONDTYPE__AROMATIC 

Definition at line 490 of file standardPredicates.h.

Constructor & Destructor Documentation

BALL::ConnectedToPredicate::CTPNode::CTPNode ( )
BALL::ConnectedToPredicate::CTPNode::CTPNode ( const CTPNode node)
virtual BALL::ConnectedToPredicate::CTPNode::~CTPNode ( )
virtual

Member Function Documentation

void BALL::ConnectedToPredicate::CTPNode::addChild ( CTPNode child)
Iterator BALL::ConnectedToPredicate::CTPNode::begin ( )
ConstIterator BALL::ConnectedToPredicate::CTPNode::begin ( ) const
virtual void BALL::ConnectedToPredicate::CTPNode::destroy ( )
virtual
Iterator BALL::ConnectedToPredicate::CTPNode::end ( )
ConstIterator BALL::ConnectedToPredicate::CTPNode::end ( ) const
Size BALL::ConnectedToPredicate::CTPNode::getBondType ( ) const
char BALL::ConnectedToPredicate::CTPNode::getBondTypeChar ( ) const
::std::list<CTPNode*>& BALL::ConnectedToPredicate::CTPNode::getChildren ( )
const HashSet<CTPNode*>& BALL::ConnectedToPredicate::CTPNode::getLinkSet ( ) const
Size BALL::ConnectedToPredicate::CTPNode::getNumberOfChildren ( ) const
CTPNode* BALL::ConnectedToPredicate::CTPNode::getParent ( ) const
String BALL::ConnectedToPredicate::CTPNode::getSymbol ( ) const
bool BALL::ConnectedToPredicate::CTPNode::isFinished ( ) const
bool BALL::ConnectedToPredicate::CTPNode::isLinked ( ) const
void BALL::ConnectedToPredicate::CTPNode::linkWith ( CTPNode partner)
void BALL::ConnectedToPredicate::CTPNode::removeChild ( CTPNode child)
void BALL::ConnectedToPredicate::CTPNode::setBondType ( Size  type)
void BALL::ConnectedToPredicate::CTPNode::setBondType ( char  type)
void BALL::ConnectedToPredicate::CTPNode::setFinished ( )
void BALL::ConnectedToPredicate::CTPNode::setLinked ( )
void BALL::ConnectedToPredicate::CTPNode::setParent ( CTPNode parent)
void BALL::ConnectedToPredicate::CTPNode::setSymbol ( const String symbol)
void BALL::ConnectedToPredicate::CTPNode::unsetFinished ( )
void BALL::ConnectedToPredicate::CTPNode::unsetLinked ( )

Member Data Documentation

Size BALL::ConnectedToPredicate::CTPNode::bond_type_
private

Definition at line 617 of file standardPredicates.h.

std::list<CTPNode*> BALL::ConnectedToPredicate::CTPNode::children_
private

Definition at line 621 of file standardPredicates.h.

String BALL::ConnectedToPredicate::CTPNode::element_symbol_
private

Definition at line 613 of file standardPredicates.h.

bool BALL::ConnectedToPredicate::CTPNode::finished_
private

Definition at line 629 of file standardPredicates.h.

HashSet<CTPNode*> BALL::ConnectedToPredicate::CTPNode::link_set_
private

Definition at line 637 of file standardPredicates.h.

bool BALL::ConnectedToPredicate::CTPNode::linked_
private

Definition at line 633 of file standardPredicates.h.

CTPNode* BALL::ConnectedToPredicate::CTPNode::parent_
private

Definition at line 625 of file standardPredicates.h.