X-Git-Url: http://git.uio.no/git/?a=blobdiff_plain;f=HLT%2FBASE%2FAliHLTDomainEntry.h;h=851740d462039b4a9a34d3d000d99d1a52c49334;hb=99d6db94795bfa9d990a0f3c04b3bb379784ef4a;hp=1ded44a272d2ac5ff15238e945466346c8bc5c9a;hpb=c580e18231cdbb2d4da6b590f170bc11e55ecf7f;p=u%2Fmrichter%2FAliRoot.git diff --git a/HLT/BASE/AliHLTDomainEntry.h b/HLT/BASE/AliHLTDomainEntry.h index 1ded44a272d..851740d4620 100644 --- a/HLT/BASE/AliHLTDomainEntry.h +++ b/HLT/BASE/AliHLTDomainEntry.h @@ -1,5 +1,5 @@ //-*- Mode: C++ -*- -// $Id:$ +// $Id$ #ifndef ALIHLTDOMAINENTRY_H #define ALIHLTDOMAINENTRY_H /* This file is property of and copyright by the ALICE HLT Project * @@ -205,6 +205,7 @@ class AliHLTDomainEntry : public TObject * \return true if the domain entries are identical or if they overlap (match) * due to wild card values. False is returned if there is absolutely no * overlap between this and the right hand side domain entries. + * \note No comparison is done for the exclude flag. */ bool operator == (const AliHLTDomainEntry& rhs) const { @@ -217,6 +218,7 @@ class AliHLTDomainEntry : public TObject * \return true if the domain entries do not overlap (match) in any way, also * after considering any wild card values. False is returned if the entries * are identical or if they overlap due to wild card values. + * \note No comparison is done for the exclude flag. */ bool operator != (const AliHLTDomainEntry& rhs) const { @@ -294,8 +296,8 @@ class AliHLTDomainEntry : public TObject * If we consider the possibility of wild card characters, then the domain entry * can be thought of as a set of possible data block entries. This operator * therefore effectively implements the set intersection. - * \param rhs [in] The domain entry to compare to. - * \param result [out] The resulting intersect is written into this + * \param [in] rhs The domain entry to compare to. + * \param [out] result The resulting intersect is written into this * variable if this method returns true. The contents is not modified if * there is no intersect and this method returns false. * \return true is returned if there is a intersect between the domain entries @@ -324,7 +326,14 @@ class AliHLTDomainEntry : public TObject * \returns A string in the format \:\:\ */ TString AsString() const; - + + /** + * Converts the three parameters into a 32 byte buffer + * As the PubSub expects the data type id and origin in reverse byte order + * those two are swapped. + */ + int AsBinary(AliHLTUInt32_t buffer[4]) const; + private: Bool_t fExclude; /// Indicates if the domain entry is exclusive, indicating data blocks that should not be readout.