The Gaudi Framework  master (594c33fa)
Gaudi::Decays::Nodes::Invalid Class Reference

#include </builds/gaudi/Gaudi/GaudiPartProp/include/Gaudi/Decays/Nodes.h>

Inheritance diagram for Gaudi::Decays::Nodes::Invalid:
Collaboration diagram for Gaudi::Decays::Nodes::Invalid:

Public Member Functions

 Invalid ()=default
 MANDATORY: default constructor. More...
 
Invalidclone () const override
 MANDATORY: clone method ("virtual constructor") More...
 
bool operator() (const Gaudi::ParticleID &) const override
 MANDATORY: the only one essential method. More...
 
std::ostreamfillStream (std::ostream &s) const override
 MANDATORY: the specific printout. More...
 
bool valid () const override
 MANDATORY: check the validity. More...
 
StatusCode validate (const Gaudi::Interfaces::IParticlePropertySvc *svc) const override
 MANDATORY: the proper validation of the node. More...
 
- Public Member Functions inherited from Gaudi::Decays::iNode
virtual bool operator! () const
 invalid node? More...
 
virtual std::string toString () const
 the string representation of the node More...
 
virtual ~iNode ()=default
 virtual destructor More...
 

Detailed Description

the most simple node to represent the invalid node it matches to all valid the Gaudi::Particles

Author
Vanya BELYAEV Ivan..nosp@m.Bely.nosp@m.aev@n.nosp@m.ikhe.nosp@m.f.nl
Date
2008-04-12

Definition at line 74 of file Nodes.h.

Constructor & Destructor Documentation

◆ Invalid()

Gaudi::Decays::Nodes::Invalid::Invalid ( )
default

MANDATORY: default constructor.

Member Function Documentation

◆ clone()

Decays::Nodes::Invalid * Gaudi::Decays::Nodes::Invalid::clone ( ) const
overridevirtual

MANDATORY: clone method ("virtual constructor")

Implements Gaudi::Decays::iNode.

Definition at line 53 of file Nodes.cpp.

53 { return new Invalid( *this ); }

◆ fillStream()

std::ostream & Gaudi::Decays::Nodes::Invalid::fillStream ( std::ostream s) const
overridevirtual

MANDATORY: the specific printout.

Implements Gaudi::Decays::iNode.

Definition at line 62 of file Nodes.cpp.

62 { return s << " <INVALID> "; }

◆ operator()()

bool Gaudi::Decays::Nodes::Invalid::operator() ( const Gaudi::ParticleID ) const
overridevirtual

MANDATORY: the only one essential method.

Implements Gaudi::Decays::iNode.

Definition at line 61 of file Nodes.cpp.

61 { return false; }

◆ valid()

bool Gaudi::Decays::Nodes::Invalid::valid ( ) const
overridevirtual

MANDATORY: check the validity.

Implements Gaudi::Decays::iNode.

Definition at line 55 of file Nodes.cpp.

55 { return false; }

◆ validate()

StatusCode Gaudi::Decays::Nodes::Invalid::validate ( const Gaudi::Interfaces::IParticlePropertySvc svc) const
overridevirtual

MANDATORY: the proper validation of the node.

Implements Gaudi::Decays::iNode.

Definition at line 57 of file Nodes.cpp.

57  {
58  return StatusCode::FAILURE;
59 }

The documentation for this class was generated from the following files:
gaudirun.s
string s
Definition: gaudirun.py:346
Gaudi::Decays::Nodes::Invalid::Invalid
Invalid()=default
MANDATORY: default constructor.
StatusCode::FAILURE
constexpr static const auto FAILURE
Definition: StatusCode.h:101