ATLAS Offline Software
Public Member Functions | Private Attributes | List of all members
TrigCompositeUtils::HasObject Class Reference

Prerequisite object usable with. More...

#include <TrigCompositeUtils.h>

Collaboration diagram for TrigCompositeUtils::HasObject:

Public Member Functions

 HasObject (const std::string &name)
 constructor specifying the link name More...
 
bool operator() (const Decision *) const
 checks if the arg TC has link of name specified at construction More...
 

Private Attributes

std::string m_name
 

Detailed Description

Prerequisite object usable with.

See also
filter allowing to find TC having a link to an object of name

Definition at line 273 of file TrigCompositeUtils.h.

Constructor & Destructor Documentation

◆ HasObject()

TrigCompositeUtils::HasObject::HasObject ( const std::string &  name)
inline

constructor specifying the link name

Definition at line 278 of file TrigCompositeUtils.h.

278 : m_name(name) {}

Member Function Documentation

◆ operator()()

bool TrigCompositeUtils::HasObject::operator() ( const Decision composite) const

checks if the arg TC has link of name specified at construction

Warning
method for internal consumption within
See also
find function

Definition at line 235 of file TrigCompositeUtilsRoot.cxx.

235  {
236  return composite->hasObjectLink( m_name );
237  }

Member Data Documentation

◆ m_name

std::string TrigCompositeUtils::HasObject::m_name
private

Definition at line 285 of file TrigCompositeUtils.h.


The documentation for this class was generated from the following files:
TrigCompositeUtils::HasObject::m_name
std::string m_name
Definition: TrigCompositeUtils.h:285
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228