Version: 8.3.0
YACS::ENGINE::ElementaryPoint Class Reference

#include <ElementaryPoint.hxx>

Inheritance diagram for YACS::ENGINE::ElementaryPoint:
Collaboration diagram for YACS::ENGINE::ElementaryPoint:

Public Member Functions

 ElementaryPoint (Node *node)
 
AbstractPointfindPointWithNode (Node *node)
 
bool contains (Node *node)
 
NodegetFirstNode ()
 
NodegetLastNode ()
 
int getNumberOfNodes () const
 
int getMaxLevelOfParallelism () const
 
std::string getRepr () const
 
virtual ~ElementaryPoint ()
 
- Public Member Functions inherited from YACS::ENGINE::AbstractPoint
 AbstractPoint (AbstractPoint *father)
 
AbstractPointgetFather () const
 
AbstractPointgetGodFather ()
 
bool amIGod ()
 
void setFather (AbstractPoint *father)
 
bool isBegin ()
 
bool isLast ()
 
bool isSimplyLinkedBeforeAfter (BlocPoint *sop)
 
bool isSimplyLinkedAfterNullBefore (BlocPoint *sop)
 
bool isSimplyLinkedBeforeNullAfter (BlocPoint *sop)
 
LinkedBlocPointtryAsLink (BlocPoint *sop)
 
ForkBlocPointtryAsFork (BlocPoint *sop)
 
ForkBlocPointtryAsForkBis (BlocPoint *sop)
 
ForkBlocPointtryAsForkTer (BlocPoint *sop)
 
virtual ~AbstractPoint ()
 
bool isSimplyLinkedAfter (BlocPoint *sop, Node *node)
 
bool isSimplyLinkedBefore (BlocPoint *sop, Node *node)
 

Private Attributes

Node_node
 

Additional Inherited Members

- Static Public Member Functions inherited from YACS::ENGINE::AbstractPoint
static bool IsGatherB4Ext (Node *node)
 
static bool IsSimplyLinkedAfterExt (Node *node)
 
static bool IsScatterAfterExt (Node *node)
 
static bool IsSimplyLinkedBeforeExt (Node *node)
 
static bool IsNoLinksBefore (Node *node)
 
static bool IsNoLinksAfter (Node *node)
 
static NodeGetNodeB4 (Node *node)
 
static NodeGetNodeAfter (Node *node)
 
static AbstractPointGetDirectSonOf (AbstractPoint *refFather, AbstractPoint *sonOrLittleSon)
 
static bool IsCommonDirectSonOf (AbstractPoint *refFather, const std::list< OutGate * > &outgs, AbstractPoint *&ret)
 
static bool IsCommonDirectSonOf (AbstractPoint *refFather, const std::list< InGate * > &ings, AbstractPoint *&ret)
 
- Protected Attributes inherited from YACS::ENGINE::AbstractPoint
AbstractPoint_father
 

Detailed Description

Definition at line 34 of file ElementaryPoint.hxx.

Constructor & Destructor Documentation

YACS::ENGINE::ElementaryPoint::ElementaryPoint ( Node node)
inline

Definition at line 39 of file ElementaryPoint.hxx.

39 :AbstractPoint(0),_node(node) { }
ElementaryPoint::~ElementaryPoint ( )
virtual

Definition at line 25 of file ElementaryPoint.cxx.

26 {
27 }

Member Function Documentation

bool ElementaryPoint::contains ( Node node)
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 37 of file ElementaryPoint.cxx.

References _node.

38 {
39  return _node==node;
40 }
AbstractPoint * ElementaryPoint::findPointWithNode ( Node node)
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 29 of file ElementaryPoint.cxx.

References _node.

30 {
31  if(node==_node)
32  return this;
33  else
34  return 0;
35 }
Node * ElementaryPoint::getFirstNode ( )
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 42 of file ElementaryPoint.cxx.

References _node.

43 {
44  return _node;
45 }
Node * ElementaryPoint::getLastNode ( )
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 47 of file ElementaryPoint.cxx.

References _node.

48 {
49  return _node;
50 }
int ElementaryPoint::getMaxLevelOfParallelism ( ) const
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 57 of file ElementaryPoint.cxx.

References _node, and YACS::ENGINE::Node::getMaxLevelOfParallelism().

58 {
60 }
int ElementaryPoint::getNumberOfNodes ( ) const
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 52 of file ElementaryPoint.cxx.

53 {
54  return 1;
55 }
std::string ElementaryPoint::getRepr ( ) const
virtual

Implements YACS::ENGINE::AbstractPoint.

Definition at line 62 of file ElementaryPoint.cxx.

References _node, and YACS::ENGINE::Node::getName().

63 {
64  return _node->getName();
65 }

Member Data Documentation

Node* YACS::ENGINE::ElementaryPoint::_node
private

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