ATLAS Offline Software
Loading...
Searching...
No Matches
EventViewCreatorAlgorithm.cxx File Reference
#include "EventViewCreatorAlgorithm.h"
#include "AthLinks/ElementLink.h"
#include "AthViews/ViewHelper.h"
#include "AthViews/View.h"
#include "TrigCompositeUtils/TrigCompositeUtils.h"
#include <sstream>
Include dependency graph for EventViewCreatorAlgorithm.cxx:

Go to the source code of this file.

Functions

bool endsWith (const std::string &value, const std::string &ending)

Function Documentation

◆ endsWith()

bool endsWith ( const std::string & value,
const std::string & ending )

Definition at line 176 of file EventViewCreatorAlgorithm.cxx.

176 {
177 if (ending.size() > value.size()) {
178 return false;
179 }
180 return std::equal(ending.rbegin(), ending.rend(), value.rbegin());
181}