//-*- Mode: C++ -*-
-// $Id:$
+// $Id$
#ifndef ALIHLTDOMAINENTRY_H
#define ALIHLTDOMAINENTRY_H
/* This file is property of and copyright by the ALICE HLT Project *
* \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
{
* \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
{
* 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 <i>[in]</i> The domain entry to compare to.
- * \param result <i>[out]</i> 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
* \returns A string in the format \<type\>:\<origin\>:\<specification\>
*/
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.