X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=blobdiff_plain;f=MUON%2FAliMUONSt1Decoder.h;h=1b7164d799db829c1b559d343840f14f853aac02;hp=85630763f3c9e2a1309a2de9bcde955a28c1b50e;hb=2524c56fba4a86dcf43cea061a46c0def80b5b5b;hpb=ba030c0ecc4b8c2ce77d97f0759aacb6edb0e7d2 diff --git a/MUON/AliMUONSt1Decoder.h b/MUON/AliMUONSt1Decoder.h index 85630763f3c..1b7164d799d 100644 --- a/MUON/AliMUONSt1Decoder.h +++ b/MUON/AliMUONSt1Decoder.h @@ -4,6 +4,7 @@ * See cxx source for full Copyright notice */ /* $Id$ */ +// Revision of includes 07/05/2004 // Authors: David Guez, Ivana Hrivnacova, Marion MacCormick; IPN Orsay // @@ -18,24 +19,37 @@ // | // this is just ONE substring. - -#include -#include +#include #include -#include +#include +#include + +#ifndef __HP_aCC + using std::string; + using std::pair; + using std::vector; +#endif + +typedef vector StringVector; +typedef vector IntVector; +typedef pair IntPair; +typedef vector IntPairVector; +typedef pair DoublePair; +typedef vector DoublePairVector; namespace decoder { - using std::vector; - using std::pair; - using std::string; - vector SplitNtuples(const string& s, - const string& leftSep ="({[\"'/", - const string& rightSep=")}]\"'/"); - vector SplitList(const string& s,const string& sep=";,"); - vector DecodeListRanges(const string& s,const string& sep=";,",const string& rangeSep="/"); - vector< pair > DecodeListOfIntRanges(const string& s,const string& sep=";,",const string& rangeSep="/"); - vector< pair > DecodeListOfFloatRanges(const string& s,const string& sep=";,",const string& rangeSep="/"); + StringVector SplitNtuples(const string& s, + const string& leftSep ="({[\"'/", + const string& rightSep=")}]\"'/"); + StringVector SplitList(const string& s, const string& sep=";,"); + + IntVector DecodeListRanges(const string& s, const string& sep=";,", + const string& rangeSep="/"); + IntPairVector DecodeListOfIntRanges(const string& s, const string& sep=";,", + const string& rangeSep="/"); + DoublePairVector DecodeListOfFloatRanges(const string& s, const string& sep=";,", + const string& rangeSep="/"); } #endif //ALI_MUON_ST1_DECODER_H