![]() |
ATLAS Offline Software
|
Note: the following structure is used (instead of a simple std::string) so that XML line numbers can be printed in the error message, which requires keeping track of the position of the string in the original file. More...
#include <Database.h>
Public Member Functions | |
| operator bool () const | |
| bool | operator== (const char *s) const |
| bool | operator!= (const char *s) const |
| bool | operator< (const StringRef &rhs) const |
| template<class Str > | |
| std::string | operator+ (Str s) |
| used to check if a piece of text appeared before another piece of text More... | |
| std::size_t | length () const |
| void | clear () |
| std::string | str () const |
| StringRef () | |
| StringRef (const char *newptr, const char *newendptr) | |
| StringRef (const char *newptr, std::size_t length) | |
| void | set (const char *newptr, const char *newendptr) |
| void | set (const char *newptr, std::size_t length) |
| std::string | trim () const |
Public Attributes | |
| const char * | ptr = nullptr |
| const char * | endptr = nullptr |
Note: the following structure is used (instead of a simple std::string) so that XML line numbers can be printed in the error message, which requires keeping track of the position of the string in the original file.
Might be rewritten around a std::string_view one day
Definition at line 95 of file Database.h.
|
inline |
Definition at line 113 of file Database.h.
Definition at line 114 of file Database.h.
|
inline |
Definition at line 115 of file Database.h.
|
inline |
Definition at line 111 of file Database.h.
|
inline |
Definition at line 110 of file Database.h.
|
inline |
|
inline |
Definition at line 107 of file Database.h.
|
inline |
used to check if a piece of text appeared before another piece of text
Definition at line 109 of file Database.h.
Definition at line 108 of file Database.h.
|
inline |
Definition at line 116 of file Database.h.
|
inline |
Definition at line 117 of file Database.h.
|
inline |
Definition at line 112 of file Database.h.
| std::string Database::StringRef::trim | ( | ) | const |
| const char * FakeBkgTools::Database::StringRef::endptr = nullptr |
Definition at line 97 of file Database.h.
| const char* FakeBkgTools::Database::StringRef::ptr = nullptr |
Definition at line 97 of file Database.h.
1.8.18