AliRoot Core  v5-06-15 (45dab64)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliMpDataMap Class Reference

TObject class containing a map of strings to strings. More...

#include <AliMpDataMap.h>

Inheritance diagram for AliMpDataMap:

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...
 

Detailed Description

TObject class containing a map of strings to strings.

Author
Ivana Hrivnacova; IPN Orsay

Definition at line 21 of file AliMpDataMap.h.

Constructor & Destructor Documentation

AliMpDataMap::AliMpDataMap ( )

Standard & default constructor

Definition at line 38 of file AliMpDataMap.cxx.

AliMpDataMap::~AliMpDataMap ( )
virtual

Destructor

Definition at line 47 of file AliMpDataMap.cxx.

Member Function Documentation

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().

const TMap& AliMpDataMap::GetMap ( ) const
inline

Return the map constant reference.

Definition at line 32 of file AliMpDataMap.h.

Referenced by AliMpDataProcessor::GenerateCode(), and AliMpDataProcessor::GenerateData().

Member Data Documentation

TMap AliMpDataMap::fMap
private

the map of strings to strings

Definition at line 35 of file AliMpDataMap.h.

Referenced by Add(), and Get().


The documentation for this class was generated from the following files: