ROOT logo
AliRoot » HLT » BASE » AliHLTDataInflater

class AliHLTDataInflater: public AliHLTLogging

This file is property of and copyright by the ALICE HLT Project
ALICE Experiment at CERN, All rights reserved.

Primary Authors: Matthias Richter <Matthias.Richter@ift.uib.no>
for The ALICE HLT Project.

Permission to use, copy, modify and distribute this software and its
documentation strictly for non-commercial purposes is hereby granted
without fee, provided that the above copyright notice appears in all
copies and that both the copyright notice and this permission notice
appear in the supporting documentation. The authors make no claims
about the suitability of this software for any purpose. It is
provided "as is" without express or implied warranty.

Function Members (Methods)

public:
AliHLTDataInflater()
virtual~AliHLTDataInflater()
static const char*AliHLTLogging::BuildLogString(const char* format, va_list& ap, bool bAppend = false)
intAliHLTLogging::CheckFilter(AliHLTComponentLogSeverity severity) const
intAliHLTLogging::CheckGroup(const char* originClass) const
static TClass*Class()
virtual voidClear(Option_t* = "")
voidCloseBitDataInput()
boolEndOfBitInput() const
UInt_tGetBitDataInputSizeBytes() const
unsigned intGetCurrentBitInputPosition() const
unsigned longGetCurrentByteInputPosition() const
AliHLTUInt8_tGetCurrentInputByte() const
static AliHLTComponentLogSeverityAliHLTLogging::GetGlobalLoggingLevel()
const char*AliHLTLogging::GetKeyword() const
static AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingDefault()
AliHLTComponentLogSeverityAliHLTLogging::GetLocalLoggingLevel()
virtual void*AliHLTLogging::GetParameter() const
UInt_tGetRemainingBitDataSizeBytes() const
static intAliHLTLogging::Init(AliHLTfctLogging pFun)
static intAliHLTLogging::InitAliLogFunc(AliHLTComponentHandler* pHandler)
static intAliHLTLogging::InitAliLogTrap(AliHLTComponentHandler* pHandler)
intInitBitDataInput(const AliHLTUInt8_t* input, UInt_t inputSize)
boolInputBit(AliHLTUInt8_t& value)
boolInputBytes(AliHLTUInt8_t* data, UInt_t const& byteCount)
virtual TClass*IsA() const
intAliHLTLogging::Logging(AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
virtual intAliHLTLogging::LoggingVarargs(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line) const
static intAliHLTLogging::Message(void* param, AliHLTComponentLogSeverity severity, const char* origin, const char* keyword, const char* message)
virtual intNextParameter()
virtual boolNextValue(AliHLTUInt64_t&, AliHLTUInt32_t&)
voidPad8Bits()
virtual voidPrint(Option_t* option = "") const
virtual voidPrint(ostream& out, Option_t* option = "") const
boolRewindBitPosition(UInt_t const& bitCount)
intAliHLTLogging::SendMessage(AliHLTComponentLogSeverity severity, const char* originClass, const char* originFunc, const char* file, int line, const char* message) const
static intAliHLTLogging::SetBlackList(const char* classnames)
voidAliHLTLogging::SetDefaultKeyword(const char* keyword)
static voidAliHLTLogging::SetGlobalLoggingLevel(AliHLTComponentLogSeverity level)
const char*AliHLTLogging::SetKeyword(const char* keyword)
static voidAliHLTLogging::SetLocalLoggingDefault(AliHLTComponentLogSeverity level)
virtual voidAliHLTLogging::SetLocalLoggingLevel(AliHLTComponentLogSeverity level)
static const char*AliHLTLogging::SetLogString(const void* p, const char* pfmt, const char* format)
static intAliHLTLogging::SetWhiteList(const char* classnames)
virtual voidShowMembers(TMemberInspector&)
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
voidAliHLTLogging::SwitchAliLog(int sw)

Data Members

public:
static ostringstreamAliHLTLogging::fgLogstr! transient
protected:
static void*AliHLTLogging::fgAliLoggingFunc! transient
private:
const AliHLTUInt8_t*fBitDataCurrentInputmember variable for bit data current input
const AliHLTUInt8_t*fBitDataCurrentInputEndmember variable for bit data current input end
const AliHLTUInt8_t*fBitDataCurrentInputStartmember variable for bit data current input star
UInt_tfBitDataCurrentPosInWordmember variable for bit data current position in word
AliHLTUInt8_tfBitDataCurrentWordmember variable for bit data current word

Class Charts

Inheritance Chart:
AliHLTLogging
AliHLTDataInflater
AliHLTDataInflaterHuffman
AliHLTDataInflaterSimple

Function documentation

AliHLTDataInflater()
 see header file for class documentation
 or
 refer to README to build package
 or
 visit http://web.ift.uib.no/~kjeks/doc/alice-hlt
~AliHLTDataInflater()
 destructor
int InitBitDataInput(const AliHLTUInt8_t* input, UInt_t inputSize)
 init inflater for reading
void CloseBitDataInput()
 close inflater for reading
bool InputBit(AliHLTUInt8_t& value)
 see header file for class documenation
bool RewindBitPosition(UInt_t const& bitCount)
 Reverse the current bit position by the given number of bits.
void Pad8Bits()
 see header file for class documenation
bool InputBytes(AliHLTUInt8_t* data, UInt_t const& byteCount)
 see header file for class documenation
void Clear(Option_t* = "")
 internal cleanup
void Print(Option_t* option = "") const
 print info
void Print(ostream& out, Option_t* option = "") const
 print to stream
AliHLTDataInflater()
 standard constructor
unsigned long GetCurrentByteInputPosition() const
 function to get current byte input position
   * @return unsigned long value of current byte input position

unsigned GetCurrentBitInputPosition() const
 function to get current bit input position
   * @return unsigned value of current bit input position

AliHLTUInt8_t GetCurrentInputByte() const
 function to get current input byte
   * @return AliHLTUInt8_t value of current input byte

bool EndOfBitInput() const
 function to determine end of bit input
   * @return boolean if end is reached or not

UInt_t GetBitDataInputSizeBytes() const
 function to get bit data input size bytes
   * @return UInt_t value of bit data input size bytes

UInt_t GetRemainingBitDataSizeBytes() const
 get number of remaining input bytes
   * the last byte might be already partially read, use
   * GetCurrentBitInputPosition()

bool NextValue(AliHLTUInt64_t& , AliHLTUInt32_t& )
   * Read the next value.
   * Data read function for inflaters for different formats

{return false;}
int NextParameter()
 switch to next parameter
{return -ENOSYS;}
AliHLTDataInflater& operator=(const AliHLTDataInflater& )
 assignment operator prohibited