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

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

Collaboration diagram for Gaudi::Decays::NodeList:

Public Types

typedef std::vector< Decays::Nodes::_Node > Nodes_
 the actual type of the sequence of nodes
typedef Nodes_::const_iterator const_iterator
typedef Nodes_::iterator iterator
typedef Nodes_::value_type value_type

Public Member Functions

 NodeList (const Nodes_ &nodes=Nodes_())
 constructor from the list of Nodes
void push_back (const Decays::Nodes::_Node &node)
void push_back (const Decays::iNode &node)
void push_back (const Nodes_ &nodes)
void push_back (const NodeList &nodes)
void clear ()
NodeList & operator= (const Decays::Nodes::_Node &node)
NodeList & operator= (const Decays::iNode &node)
NodeList & operator+= (const Decays::Nodes::_Node &node)
NodeList & operator+= (const Decays::iNode &node)
NodeList & operator+= (const Nodes_ &nodes)
NodeList & operator+= (const NodeList &nodes)
size_t size () const
bool empty () const
iterator begin ()
iterator end ()
const_iterator begin () const
const_iterator end () const
 operator const Nodes_ & () const

Private Attributes

Nodes_ m_nodes
 the actual list of nodes

Detailed Description

Definition at line 169 of file Nodes.h.

Member Typedef Documentation

◆ const_iterator

typedef Nodes_::const_iterator Gaudi::Decays::NodeList::const_iterator

Definition at line 173 of file Nodes.h.

◆ iterator

typedef Nodes_::iterator Gaudi::Decays::NodeList::iterator

Definition at line 174 of file Nodes.h.

◆ Nodes_

the actual type of the sequence of nodes

Definition at line 172 of file Nodes.h.

◆ value_type

typedef Nodes_::value_type Gaudi::Decays::NodeList::value_type

Definition at line 175 of file Nodes.h.

Constructor & Destructor Documentation

◆ NodeList()

Gaudi::Decays::NodeList::NodeList ( const Nodes_ & nodes = Nodes_())

constructor from the list of Nodes

Definition at line 25 of file Nodes.cpp.

25: m_nodes( nodes ) {}
Nodes_ m_nodes
the actual list of nodes
Definition Nodes.h:217

Member Function Documentation

◆ begin() [1/2]

iterator Gaudi::Decays::NodeList::begin ( )
inline

Definition at line 208 of file Nodes.h.

208{ return m_nodes.begin(); }

◆ begin() [2/2]

const_iterator Gaudi::Decays::NodeList::begin ( ) const
inline

Definition at line 210 of file Nodes.h.

210{ return m_nodes.begin(); }

◆ clear()

void Gaudi::Decays::NodeList::clear ( )
inline

Definition at line 184 of file Nodes.h.

184{ m_nodes.clear(); }

◆ empty()

bool Gaudi::Decays::NodeList::empty ( ) const
inline

Definition at line 207 of file Nodes.h.

207{ return m_nodes.empty(); }

◆ end() [1/2]

iterator Gaudi::Decays::NodeList::end ( )
inline

Definition at line 209 of file Nodes.h.

209{ return m_nodes.end(); }

◆ end() [2/2]

const_iterator Gaudi::Decays::NodeList::end ( ) const
inline

Definition at line 211 of file Nodes.h.

211{ return m_nodes.end(); }

◆ operator const Nodes_ &()

Gaudi::Decays::NodeList::operator const Nodes_ & ( ) const
inline

Definition at line 213 of file Nodes.h.

213{ return m_nodes; }

◆ operator+=() [1/4]

NodeList & Gaudi::Decays::NodeList::operator+= ( const Decays::iNode & node)
inline

Definition at line 193 of file Nodes.h.

193 {
194 push_back( node );
195 return *this;
196 }
void push_back(const Decays::Nodes::_Node &node)
Definition Nodes.cpp:26

◆ operator+=() [2/4]

NodeList & Gaudi::Decays::NodeList::operator+= ( const Decays::Nodes::_Node & node)
inline

Definition at line 189 of file Nodes.h.

189 {
190 push_back( node );
191 return *this;
192 }

◆ operator+=() [3/4]

NodeList & Gaudi::Decays::NodeList::operator+= ( const NodeList & nodes)
inline

Definition at line 201 of file Nodes.h.

201 {
202 push_back( nodes );
203 return *this;
204 }

◆ operator+=() [4/4]

NodeList & Gaudi::Decays::NodeList::operator+= ( const Nodes_ & nodes)
inline

Definition at line 197 of file Nodes.h.

197 {
198 push_back( nodes );
199 return *this;
200 }

◆ operator=() [1/2]

Decays::NodeList & Gaudi::Decays::NodeList::operator= ( const Decays::iNode & node)

Definition at line 37 of file Nodes.cpp.

37 {
38 m_nodes.clear();
39 push_back( node );
40 return *this;
41}

◆ operator=() [2/2]

Decays::NodeList & Gaudi::Decays::NodeList::operator= ( const Decays::Nodes::_Node & node)

Definition at line 32 of file Nodes.cpp.

32 {
33 m_nodes.clear();
34 push_back( node );
35 return *this;
36}

◆ push_back() [1/4]

void Gaudi::Decays::NodeList::push_back ( const Decays::iNode & node)

Definition at line 27 of file Nodes.cpp.

27{ m_nodes.push_back( node ); }

◆ push_back() [2/4]

void Gaudi::Decays::NodeList::push_back ( const Decays::Nodes::_Node & node)

Definition at line 26 of file Nodes.cpp.

26{ m_nodes.push_back( node ); }

◆ push_back() [3/4]

void Gaudi::Decays::NodeList::push_back ( const NodeList & nodes)

Definition at line 31 of file Nodes.cpp.

31{ push_back( nodes.m_nodes ); }

◆ push_back() [4/4]

void Gaudi::Decays::NodeList::push_back ( const Nodes_ & nodes)

Definition at line 28 of file Nodes.cpp.

28 {
29 m_nodes.insert( m_nodes.end(), nodes.begin(), nodes.end() );
30}

◆ size()

size_t Gaudi::Decays::NodeList::size ( ) const
inline

Definition at line 206 of file Nodes.h.

206{ return m_nodes.size(); }

Member Data Documentation

◆ m_nodes

Nodes_ Gaudi::Decays::NodeList::m_nodes
private

the actual list of nodes

Definition at line 217 of file Nodes.h.


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