From 2c3d24ca4c8b47b49155dd1784af968abb0e9028 Mon Sep 17 00:00:00 2001 From: richterm Date: Thu, 8 Apr 2010 20:15:12 +0000 Subject: [PATCH] adding argument names in function definitions --- HLT/BASE/AliHLTDataBuffer.cxx | 2 +- HLT/BASE/AliHLTDataBuffer.h | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/HLT/BASE/AliHLTDataBuffer.cxx b/HLT/BASE/AliHLTDataBuffer.cxx index 6f20cd941b8..57317e6816e 100644 --- a/HLT/BASE/AliHLTDataBuffer.cxx +++ b/HLT/BASE/AliHLTDataBuffer.cxx @@ -135,7 +135,7 @@ int AliHLTDataBuffer::FindMatchingDataBlocks(const AliHLTComponent* pConsumer, A return iResult; } -int AliHLTDataBuffer::FindMatchingDataSegments(const AliHLTComponent* pConsumer, vector& tgtList) +int AliHLTDataBuffer::FindMatchingDataSegments(const AliHLTComponent* pConsumer, AliHLTDataSegmentList& tgtList) { // see header file for function documentation int iResult=0; diff --git a/HLT/BASE/AliHLTDataBuffer.h b/HLT/BASE/AliHLTDataBuffer.h index 2e2cc0c938c..e4fd8adfa6b 100644 --- a/HLT/BASE/AliHLTDataBuffer.h +++ b/HLT/BASE/AliHLTDataBuffer.h @@ -244,6 +244,7 @@ class AliHLTDataBuffer : public TObject, public AliHLTLogging * @brief Descriptor of a data segment within the buffer. */ class AliHLTDataSegment { + friend class AliHLTDataBuffer; // TODO: implement some getters/setters public: AliHLTDataSegment() : @@ -307,7 +308,6 @@ class AliHLTDataBuffer : public TObject, public AliHLTLogging /** data specification */ AliHLTUInt32_t fSpecification; // see above - friend class AliHLTDataBuffer; // TODO: implement some getters/setters }; class AliHLTRawBuffer; @@ -459,15 +459,15 @@ class AliHLTDataBuffer : public TObject, public AliHLTLogging */ void Print(const char* option); - int operator==(void*) const; + int operator==(void* ptr) const; int operator==(AliHLTUInt8_t* ptr) const {return fPtr==ptr;} - int operator<(void*) const; - int operator<=(void*) const; - int operator>(void*) const; - int operator-(void*) const; - int operator<(const AliHLTRawBuffer&) const; - int operator<=(const AliHLTRawBuffer&) const; - int operator>(const AliHLTRawBuffer&) const; + int operator<(void* ptr) const; + int operator<=(void* ptr) const; + int operator>(void* ptr) const; + int operator-(void* ptr) const; + int operator<(const AliHLTRawBuffer& op) const; + int operator<=(const AliHLTRawBuffer& op) const; + int operator>(const AliHLTRawBuffer& op) const; operator void*() const {return fPtr;} operator AliHLTUInt8_t*() const {return fPtr;} -- 2.39.3