BALL  1.4.79
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Types | Public Member Functions | Public Attributes | Protected Attributes | List of all members
BALL::GAFFCESParser::CESPredicate Class Reference

#include <BALL/MOLMEC/AMBER/GAFFCESParser.h>

Inheritance diagram for BALL::GAFFCESParser::CESPredicate:
BALL::GAFFCESParser::CESelementConnectionPredicate BALL::GAFFCESParser::CESelementPredicate BALL::GAFFCESParser::CESwildcardsConnectionPredicate BALL::GAFFCESParser::CESwildcardsPredicate BALL::GAFFCESParser::TruePredicate

Public Types

enum  CESwildcards {
  XA, XB, XC, XD,
  XX
}
 

Public Member Functions

 CESPredicate (GAFFCESParser *parser)
 
virtual ~CESPredicate ()
 
void initStringToWildcard ()
 
std::map< String, CESwildcardsgetStringToWildcard ()
 
void addCESwildcardsConnectionPredicate (String wildcard, Size partners)
 
void addCESwildcardsPredicate (String wildcard)
 
void addCESelementPredicate (String name)
 
void addCESelementConnectionPredicate (Size partners, String name)
 
void addTruePredicate () const
 
virtual bool operator() (Atom &atom)
 
virtual bool match (Atom &)
 
void clear ()
 
bool alreadySeenThisAtom (Atom *atom)
 
void addNewAND ()
 
void addNewOR (APSMatcher::APSType aps, int feature_number)
 

Public Attributes

APSMatcher aps_matcher
 
std::vector< CESPredicate * > children
 
CESPredicateparent
 
Atomatom_to_test
 

Protected Attributes

std::map< String, CESwildcardsstringToWildcard_
 
GAFFCESParserparser_
 

Detailed Description

Definition at line 125 of file GAFFCESParser.h.

Member Enumeration Documentation

Enumerator
XA 
XB 
XC 
XD 
XX 

Definition at line 129 of file GAFFCESParser.h.

Constructor & Destructor Documentation

BALL::GAFFCESParser::CESPredicate::CESPredicate ( GAFFCESParser parser)
inline

Definition at line 134 of file GAFFCESParser.h.

virtual BALL::GAFFCESParser::CESPredicate::~CESPredicate ( )
virtual

Member Function Documentation

void BALL::GAFFCESParser::CESPredicate::addCESelementConnectionPredicate ( Size  partners,
String  name 
)
void BALL::GAFFCESParser::CESPredicate::addCESelementPredicate ( String  name)
void BALL::GAFFCESParser::CESPredicate::addCESwildcardsConnectionPredicate ( String  wildcard,
Size  partners 
)
void BALL::GAFFCESParser::CESPredicate::addCESwildcardsPredicate ( String  wildcard)
void BALL::GAFFCESParser::CESPredicate::addNewAND ( )
void BALL::GAFFCESParser::CESPredicate::addNewOR ( APSMatcher::APSType  aps,
int  feature_number 
)
void BALL::GAFFCESParser::CESPredicate::addTruePredicate ( ) const
bool BALL::GAFFCESParser::CESPredicate::alreadySeenThisAtom ( Atom atom)
void BALL::GAFFCESParser::CESPredicate::clear ( )
std::map<String, CESwildcards> BALL::GAFFCESParser::CESPredicate::getStringToWildcard ( )
void BALL::GAFFCESParser::CESPredicate::initStringToWildcard ( )
virtual bool BALL::GAFFCESParser::CESPredicate::match ( Atom )
inlinevirtual
virtual bool BALL::GAFFCESParser::CESPredicate::operator() ( Atom atom)
virtual

Member Data Documentation

APSMatcher BALL::GAFFCESParser::CESPredicate::aps_matcher

Definition at line 174 of file GAFFCESParser.h.

Atom* BALL::GAFFCESParser::CESPredicate::atom_to_test

Definition at line 182 of file GAFFCESParser.h.

std::vector<CESPredicate*> BALL::GAFFCESParser::CESPredicate::children

Definition at line 177 of file GAFFCESParser.h.

CESPredicate* BALL::GAFFCESParser::CESPredicate::parent

Definition at line 179 of file GAFFCESParser.h.

GAFFCESParser* BALL::GAFFCESParser::CESPredicate::parser_
protected

Definition at line 186 of file GAFFCESParser.h.

std::map<String, CESwildcards > BALL::GAFFCESParser::CESPredicate::stringToWildcard_
protected

Definition at line 185 of file GAFFCESParser.h.