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

Simple node which match "NOT" for the subnode. More...

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

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

Public Member Functions

 Not (const Decays::iNode &node)
 constructor from the node
Not * clone () const override
 MANDATORY: clone method ("virtual constructor").
bool operator() (const Gaudi::ParticleID &pid) 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.
const Decays::iNode & node () const
 get the underlying 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

Private Attributes

Decays::Node m_node
 the node itself

Detailed Description

Simple node which match "NOT" for the subnode.

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 309 of file Nodes.h.

Constructor & Destructor Documentation

◆ Not()

Gaudi::Decays::Nodes::Not::Not ( const Decays::iNode & node)

constructor from the node

Definition at line 187 of file Nodes.cpp.

187: Decays::iNode(), m_node( node ) {}
const Decays::iNode & node() const
get the underlying node
Definition Nodes.h:326
Decays::Node m_node
the node itself
Definition Nodes.h:330

Member Function Documentation

◆ clone()

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

MANDATORY: clone method ("virtual constructor").

Implements Gaudi::Decays::iNode.

Definition at line 189 of file Nodes.cpp.

189{ return new Not( *this ); }
Not(const Decays::iNode &node)
constructor from the node
Definition Nodes.cpp:187

◆ fillStream()

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

MANDATORY: the specific printout.

Implements Gaudi::Decays::iNode.

Definition at line 197 of file Nodes.cpp.

197{ return s << " ~(" << m_node << ") "; }

◆ node()

const Decays::iNode & Gaudi::Decays::Nodes::Not::node ( ) const
inline

get the underlying node

Definition at line 326 of file Nodes.h.

326{ return m_node.node(); }

◆ operator()()

bool Gaudi::Decays::Nodes::Not::operator() ( const Gaudi::ParticleID & pid) const
overridevirtual

MANDATORY: the only one essential method.

Implements Gaudi::Decays::iNode.

Definition at line 192 of file Nodes.cpp.

192{ return !m_node.node( pid ); }

◆ valid()

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

MANDATORY: check the validity.

Implements Gaudi::Decays::iNode.

Definition at line 191 of file Nodes.cpp.

191{ return m_node.valid(); }

◆ validate()

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

MANDATORY: the proper validation of the node.

Implements Gaudi::Decays::iNode.

Definition at line 193 of file Nodes.cpp.

193 {
194 return m_node.validate( svc );
195}

Member Data Documentation

◆ m_node

Decays::Node Gaudi::Decays::Nodes::Not::m_node
private

the node itself

Definition at line 330 of file Nodes.h.


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