The Gaudi Framework  v41r0 (bdbe7744)
Loading...
Searching...
No Matches
Gaudi::Decays::Nodes::Invalid Class Reference

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

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

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 ); }
Invalid()=default
MANDATORY: default constructor.

◆ 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 {
59}
constexpr static const auto FAILURE
Definition StatusCode.h:100

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