ant
A2 ant: class-based analysis framework
ant::Unpacker Class Reference

The Unpacker class encapsulates the interface for unpacking raw data. More...

#include <Unpacker.h>

Classes

class  Exception
 The Exception class is thrown if an unexpected error during unpacking occurs. More...
 
class  Module
 The Module interface is used by Unpacker::Get, it represents a source for TEvent's. More...
 

Public Member Functions

 Unpacker ()=delete
 

Static Public Member Functions

static std::unique_ptr< ModuleGet (const std::string &filename)
 Get a unique unpacker instance for the given filename. More...
 

Detailed Description

The Unpacker class encapsulates the interface for unpacking raw data.

Constructor & Destructor Documentation

◆ Unpacker()

ant::Unpacker::Unpacker ( )
delete

Member Function Documentation

◆ Get()

std::unique_ptr< Unpacker::Module > Unpacker::Get ( const std::string &  filename)
static

Get a unique unpacker instance for the given filename.

Parameters
filenamethe file to be examined for unpacking
Returns
pointer to the unpacker instance
Exceptions
Exceptionif no or more than one unpacker for filename found

The documentation for this class was generated from the following files: