ATLAS Offline Software
Control
CxxUtils
CxxUtils
starts_with.h
Go to the documentation of this file.
1
// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
/*
3
* Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration.
4
*/
13
#ifndef CXXUTILS_STARTS_WITH_H
14
#define CXXUTILS_STARTS_WITH_H
15
16
17
#include <string>
18
19
20
namespace
CxxUtils
{
21
29
bool
starts_with
(
const
char
*
s
,
const
char
*
prefix
);
30
39
bool
starts_with
(
const
std::string&
s
,
const
char
*
prefix
);
40
48
bool
starts_with
(
const
std::string&
s
,
const
std::string&
prefix
);
49
57
bool
ends_with
(
const
char
*
s
,
const
char
*
suffix
);
58
67
bool
ends_with
(
const
std::string&
s
,
const
char
*
suffix
);
68
69
77
bool
ends_with
(
const
std::string&
s
,
const
std::string&
suffix
);
78
79
80
}
// namespace CxxUtils
81
82
83
#include "
CxxUtils/starts_with.icc
"
84
85
86
#endif // not CXXUTILS_STARTS_WITH_H
starts_with.icc
python.SystemOfUnits.s
int s
Definition:
SystemOfUnits.py:131
CxxUtils::starts_with
bool starts_with(const char *s, const char *prefix)
Test whether one null-terminated byte string starts with another.
hotSpotInTAG.suffix
string suffix
Definition:
hotSpotInTAG.py:186
CxxUtils::ends_with
bool ends_with(const char *s, const char *suffix)
Test whether one null-terminated byte string ends with another.
CxxUtils
Definition:
aligned_vector.h:29
checkCorrelInHIST.prefix
dictionary prefix
Definition:
checkCorrelInHIST.py:391
Generated on Tue Jul 2 2024 21:27:13 for ATLAS Offline Software by
1.8.18