LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "StringIDs.hh"
Public Member Functions | |
StringIDs () | |
virtual | ~StringIDs () |
void | initialize () |
unsigned int | idGivenString (const std::string &s) |
void | reset (StringIDs const &desired) |
const std::string & | stringGivenID (unsigned int id) const |
unsigned int | size () const |
Private Attributes | |
std::vector< std::string > | stringVec_ |
std::map< std::string, unsigned int > | stringToIdMap_ |
Definition at line 26 of file StringIDs.hh.
artg4tk::StringIDs::StringIDs | ( | ) |
Definition at line 10 of file StringIDs.cc.
|
inlinevirtual |
Definition at line 33 of file StringIDs.hh.
References idGivenString(), initialize(), and reset().
unsigned int artg4tk::StringIDs::idGivenString | ( | const std::string & | s | ) |
Definition at line 31 of file StringIDs.cc.
References stringToIdMap_, and stringVec_.
Referenced by ~StringIDs().
void artg4tk::StringIDs::initialize | ( | ) |
Definition at line 17 of file StringIDs.cc.
References stringToIdMap_, and stringVec_.
Referenced by reset(), and ~StringIDs().
void artg4tk::StringIDs::reset | ( | StringIDs const & | desired | ) |
Definition at line 67 of file StringIDs.cc.
References initialize(), and stringVec_.
Referenced by ~StringIDs().
|
inline |
|
inline |
|
private |
Definition at line 69 of file StringIDs.hh.
Referenced by idGivenString(), and initialize().
|
private |
Definition at line 65 of file StringIDs.hh.
Referenced by idGivenString(), initialize(), reset(), size(), and stringGivenID().