Belle II Software light-2406-ragdoll
PathElement Class Referenceabstract

Base for classes that can be elements of a Path. More...

#include <PathElement.h>

Inheritance diagram for PathElement:

Public Member Functions

 PathElement ()
 Constructor.
 
virtual ~PathElement ()
 Destructor.
 
virtual std::string getPathString () const =0
 Return a string representation of the Modules in this path.
 
virtual std::shared_ptr< PathElementclone () const =0
 Create an independent copy of this element.
 
virtual std::list< std::shared_ptr< Module > > getModules () const =0
 Returns a sequential list of Modules in this path element.
 

Detailed Description

Base for classes that can be elements of a Path.

Currently, this includes Module and the Path class itself.

Definition at line 27 of file PathElement.h.

Constructor & Destructor Documentation

◆ PathElement()

PathElement ( )
inline

Constructor.

Definition at line 30 of file PathElement.h.

30{ }

◆ ~PathElement()

virtual ~PathElement ( )
inlinevirtual

Destructor.

Definition at line 33 of file PathElement.h.

33{ }

Member Function Documentation

◆ clone()

virtual std::shared_ptr< PathElement > clone ( ) const
pure virtual

Create an independent copy of this element.


Implemented in Module, and Path.

◆ getModules()

virtual std::list< std::shared_ptr< Module > > getModules ( ) const
pure virtual

Returns a sequential list of Modules in this path element.

Implemented in Module, and Path.

◆ getPathString()

virtual std::string getPathString ( ) const
pure virtual

Return a string representation of the Modules in this path.

Implemented in Module, and Path.


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