gem5  v21.2.1.1
Public Member Functions | Private Attributes | List of all members
gem5::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 45 of file image_file_data.hh.

Constructor & Destructor Documentation

◆ ImageFileData()

gem5::loader::ImageFileData::ImageFileData ( const std::string &  f_name)

◆ ~ImageFileData()

gem5::loader::ImageFileData::~ImageFileData ( )
virtual

Definition at line 131 of file image_file_data.cc.

References _data, and _len.

Member Function Documentation

◆ data()

const uint8_t* gem5::loader::ImageFileData::data ( ) const
inline

Definition at line 54 of file image_file_data.hh.

References _data.

Referenced by TEST().

◆ filename()

const std::string& gem5::loader::ImageFileData::filename ( ) const
inline

Definition at line 53 of file image_file_data.hh.

References _filename.

Referenced by TEST().

◆ len()

size_t gem5::loader::ImageFileData::len ( ) const
inline

Definition at line 55 of file image_file_data.hh.

References _len.

Referenced by TEST().

Member Data Documentation

◆ _data

uint8_t* gem5::loader::ImageFileData::_data
private

Definition at line 49 of file image_file_data.hh.

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

◆ _filename

std::string gem5::loader::ImageFileData::_filename
private

Definition at line 48 of file image_file_data.hh.

Referenced by filename(), and ImageFileData().

◆ _len

size_t gem5::loader::ImageFileData::_len
private

Definition at line 50 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 May 4 2022 12:15:44 for gem5 by doxygen 1.8.17