BALL
1.4.79
|
Edge representation of the smarts parser graph. More...
#include <BALL/STRUCTURE/smartsParser.h>
Public Member Functions | |
Constructors and destructors | |
SPEdge () | |
Default constructor. More... | |
SPEdge (const SPEdge &sp_edge) | |
Copy constructor. More... | |
virtual | ~SPEdge () |
Destructor. More... | |
Acessors | |
bool | isInternal () const |
returns true if this is a internal edge More... | |
void | setInternal (bool internal) |
set this edge to a internal edge More... | |
void | setSPBond (SPBond *sp_bond) |
sets the corresponding SPBond of this edge More... | |
SPBond * | getSPBond () const |
returns the corresponding SPBond of this edge More... | |
void | setFirstSPNode (SPNode *first) |
set the first SPNode of this edge More... | |
SPNode * | getFirstSPNode () const |
returns the first SPNode of this edge More... | |
void | setSecondSPNode (SPNode *second) |
sets the second SPNode of this edge More... | |
SPNode * | getSecondSPNode () const |
returns the second SPNode of this edge More... | |
SPNode * | getPartnerSPNode (SPNode *node) |
returns the partner; either the first or the second SPNode More... | |
bool | isNot () const |
returns true if negation is enabled More... | |
void | setNot (bool is_not) |
set the negation flag More... | |
void | setFirstSPEdge (SPEdge *first) |
set the first SPEdge (first tree child) More... | |
SPEdge * | getFirstSPEdge () const |
returns the first SPEdge (first tree child) More... | |
void | setSecondSPEdge (SPEdge *second) |
set the second SPEdge (second tree child) More... | |
SPEdge * | getSecondSPEdge () const |
returns the second SPEdge (second tree child) More... | |
void | setLogicalOperator (LogicalOperator log_op) |
sets the associated logical operator (for the child edges) More... | |
LogicalOperator | getLogicalOperator () const |
returns the asociated logical operator (for the child edges) More... | |
Protected Attributes | |
bool | internal_ |
internal flag More... | |
bool | is_not_ |
negation flag More... | |
SPNode * | first_ |
first SPNode More... | |
SPNode * | second_ |
second SPNode More... | |
SPBond * | bond_ |
associated bond More... | |
SPEdge * | first_edge_ |
first SPEdge More... | |
SPEdge * | second_edge_ |
second SPEdge More... | |
LogicalOperator | log_op_ |
logical operator associated with the SPEdges More... | |
Edge representation of the smarts parser graph.
Definition at line 385 of file smartsParser.h.
BALL::SmartsParser::SPEdge::SPEdge | ( | ) |
Default constructor.
BALL::SmartsParser::SPEdge::SPEdge | ( | const SPEdge & | sp_edge | ) |
Copy constructor.
|
virtual |
Destructor.
|
inline |
returns the first SPEdge (first tree child)
Definition at line 442 of file smartsParser.h.
|
inline |
returns the first SPNode of this edge
Definition at line 421 of file smartsParser.h.
|
inline |
returns the asociated logical operator (for the child edges)
Definition at line 454 of file smartsParser.h.
returns the partner; either the first or the second SPNode
Definition at line 430 of file smartsParser.h.
|
inline |
returns the second SPEdge (second tree child)
Definition at line 448 of file smartsParser.h.
|
inline |
returns the second SPNode of this edge
Definition at line 427 of file smartsParser.h.
|
inline |
returns the corresponding SPBond of this edge
Definition at line 415 of file smartsParser.h.
|
inline |
returns true if this is a internal edge
Definition at line 406 of file smartsParser.h.
|
inline |
returns true if negation is enabled
Definition at line 433 of file smartsParser.h.
|
inline |
set the first SPEdge (first tree child)
Definition at line 439 of file smartsParser.h.
|
inline |
set the first SPNode of this edge
Definition at line 418 of file smartsParser.h.
|
inline |
set this edge to a internal edge
Definition at line 409 of file smartsParser.h.
|
inline |
sets the associated logical operator (for the child edges)
Definition at line 451 of file smartsParser.h.
|
inline |
set the negation flag
Definition at line 436 of file smartsParser.h.
|
inline |
set the second SPEdge (second tree child)
Definition at line 445 of file smartsParser.h.
|
inline |
sets the second SPNode of this edge
Definition at line 424 of file smartsParser.h.
|
inline |
sets the corresponding SPBond of this edge
Definition at line 412 of file smartsParser.h.
|
protected |
associated bond
Definition at line 472 of file smartsParser.h.
|
protected |
first SPNode
Definition at line 466 of file smartsParser.h.
|
protected |
first SPEdge
Definition at line 475 of file smartsParser.h.
|
protected |
internal flag
Definition at line 460 of file smartsParser.h.
|
protected |
negation flag
Definition at line 463 of file smartsParser.h.
|
protected |
logical operator associated with the SPEdges
Definition at line 481 of file smartsParser.h.
|
protected |
second SPNode
Definition at line 469 of file smartsParser.h.
|
protected |
second SPEdge
Definition at line 478 of file smartsParser.h.