gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
Loader::ImageFileData Class Reference

#include <image_file_data.hh>

Public Member Functions

const std::string & filename () const
 
const uint8_t * data () const
 
size_t len () const
 
 ImageFileData (const std::string &f_name)
 
virtual ~ImageFileData ()
 

Private Attributes

std::string _filename
 
uint8_t * _data
 
size_t _len
 

Detailed Description

Definition at line 39 of file image_file_data.hh.

Constructor & Destructor Documentation

◆ ImageFileData()

Loader::ImageFileData::ImageFileData ( const std::string &  f_name)

◆ ~ImageFileData()

Loader::ImageFileData::~ImageFileData ( )
virtual

Definition at line 127 of file image_file_data.cc.

References _data, and _len.

Member Function Documentation

◆ data()

const uint8_t* Loader::ImageFileData::data ( ) const
inline

Definition at line 48 of file image_file_data.hh.

References _data.

Referenced by TEST().

◆ filename()

const std::string& Loader::ImageFileData::filename ( ) const
inline

Definition at line 47 of file image_file_data.hh.

References _filename.

Referenced by TEST().

◆ len()

size_t Loader::ImageFileData::len ( ) const
inline

Definition at line 49 of file image_file_data.hh.

References _len.

Referenced by TEST().

Member Data Documentation

◆ _data

uint8_t* Loader::ImageFileData::_data
private

Definition at line 43 of file image_file_data.hh.

Referenced by data(), ImageFileData(), and ~ImageFileData().

◆ _filename

std::string Loader::ImageFileData::_filename
private

Definition at line 42 of file image_file_data.hh.

Referenced by filename(), and ImageFileData().

◆ _len

size_t Loader::ImageFileData::_len
private

Definition at line 44 of file image_file_data.hh.

Referenced by ImageFileData(), len(), and ~ImageFileData().


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

Generated on Wed Sep 30 2020 14:03:06 for gem5 by doxygen 1.8.17