![]() |
AliRoot Core
a565103 (a565103)
|
TObject class containing a map of strings to strings. More...
#include <AliMpDataMap.h>
Public Member Functions | |
AliMpDataMap () | |
virtual | ~AliMpDataMap () |
void | Add (const TString &path, const TString &data) |
TString | Get (const TString &path, Bool_t warn=kTRUE) const |
const TMap & | GetMap () const |
Return the map constant reference. More... | |
Private Attributes | |
TMap | fMap |
the map of strings to strings More... | |
TObject class containing a map of strings to strings.
Definition at line 21 of file AliMpDataMap.h.
AliMpDataMap::AliMpDataMap | ( | ) |
Standard & default constructor
Definition at line 38 of file AliMpDataMap.cxx.
|
virtual |
Destructor
Definition at line 47 of file AliMpDataMap.cxx.
void AliMpDataMap::Add | ( | const TString & | path, |
const TString & | data | ||
) |
Add map element
Definition at line 57 of file AliMpDataMap.cxx.
Referenced by AliMpDataProcessor::ProcessFile().
TString AliMpDataMap::Get | ( | const TString & | path, |
Bool_t | warn = kTRUE |
||
) | const |
Find the data string for given path; give error and return empty string if not found
Definition at line 65 of file AliMpDataMap.cxx.
Referenced by AliMpDataStreams::CreateDataStream(), and AliMpDataStreams::IsDataStream().
|
inline |
Return the map constant reference.
Definition at line 32 of file AliMpDataMap.h.
Referenced by AliMpDataProcessor::GenerateCode(), and AliMpDataProcessor::GenerateData().
|
private |
the map of strings to strings
Definition at line 35 of file AliMpDataMap.h.