gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
Compressor::DictionaryCompressor< T >::CompData Class Reference

#include <dictionary_compressor.hh>

Inheritance diagram for Compressor::DictionaryCompressor< T >::CompData:
Compressor::Base::CompressionData

Public Member Functions

 CompData ()
 
 ~CompData ()=default
 
virtual void addEntry (std::unique_ptr< Pattern >)
 Add a pattern entry to the list of patterns. More...
 
- Public Member Functions inherited from Compressor::Base::CompressionData
 CompressionData ()
 Default constructor. More...
 
virtual ~CompressionData ()
 Virtual destructor. More...
 
void setSizeBits (std::size_t size)
 Set compression size (in bits). More...
 
std::size_t getSizeBits () const
 Get compression size (in bits). More...
 
std::size_t getSize () const
 Get compression size (in bytes). More...
 

Public Attributes

std::vector< std::unique_ptr< Pattern > > entries
 The patterns matched in the original line. More...
 

Detailed Description

template<class T>
class Compressor::DictionaryCompressor< T >::CompData

Definition at line 387 of file dictionary_compressor.hh.

Constructor & Destructor Documentation

◆ CompData()

template<class T >
Compressor::DictionaryCompressor< T >::CompData::CompData

Definition at line 46 of file dictionary_compressor_impl.hh.

◆ ~CompData()

template<class T >
Compressor::DictionaryCompressor< T >::CompData::~CompData ( )
default

Member Function Documentation

◆ addEntry()

template<class T >
void Compressor::DictionaryCompressor< T >::CompData::addEntry ( std::unique_ptr< Pattern pattern)
virtual

Add a pattern entry to the list of patterns.

Parameters
entryThe new pattern entry.

Definition at line 53 of file dictionary_compressor_impl.hh.

References Compressor::Base::setSizeBits().

Member Data Documentation

◆ entries

template<class T >
std::vector<std::unique_ptr<Pattern> > Compressor::DictionaryCompressor< T >::CompData::entries

The patterns matched in the original line.

Definition at line 391 of file dictionary_compressor.hh.


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

Generated on Wed Sep 30 2020 14:02:39 for gem5 by doxygen 1.8.17