Kinetis Bootloader Host  2.0.0
Host Tools for Kinetis devices
elftosb::BinaryDataSection Class Reference

A section of the output file that contains arbitrary binary data. More...

#include <OutputSection.h>

+ Inheritance diagram for elftosb::BinaryDataSection:
+ Collaboration diagram for elftosb::BinaryDataSection:

Public Member Functions

 BinaryDataSection (uint32_t identifier)
 
- Public Member Functions inherited from elftosb::OutputSection
 OutputSection (uint32_t identifier)
 
void setIdentifier (uint32_t identifier)
 
uint32_t getIdentifier () const
 
void setOptions (OptionContext *context)
 Set the option context. More...
 
const OptionContextgetOptions () const
 Return the option context.
 
- Public Member Functions inherited from Blob
 Blob ()
 Default constructor.
 
 Blob (const uint8_t *data, unsigned length)
 Constructor. More...
 
 Blob (const Blob &other)
 Copy constructor. More...
 
virtual ~Blob ()
 Destructor. More...
 
 Blob ()
 Default constructor.
 
 Blob (const uint8_t *data, unsigned length)
 Constructor.
 
 Blob (const Blob &other)
 Copy constructor.
 
virtual ~Blob ()
 Destructor.
 
void setData (const uint8_t *data, unsigned length)
 Replaces the blob's data. More...
 
void setLength (unsigned length)
 Change the size of the blob's data. More...
 
void append (const uint8_t *newData, unsigned newDataLength)
 Adds data to the end of the blob.
 
void clear ()
 Disposes of the data.
 
void relinquish ()
 Tell the blob that it no longer owns its data.
 
void setData (const uint8_t *data, unsigned length)
 Replaces the blob's data.
 
void setLength (unsigned length)
 Change the size of the blob's data.
 
void append (const uint8_t *newData, unsigned newDataLength)
 Adds data to the end of the blob.
 
void clear ()
 Disposes of the data.
 
void relinquish ()
 Tell the blob that it no longer owns its data.
 
uint8_t * getData ()
 
const uint8_t * getData () const
 
unsigned getLength () const
 
uint8_t * getData ()
 
const uint8_t * getData () const
 
unsigned getLength () const
 
 operator uint8_t * ()
 
 operator const uint8_t * () const
 
 operator uint8_t * ()
 
 operator const uint8_t * () const
 

Additional Inherited Members

- Protected Attributes inherited from elftosb::OutputSection
uint32_t m_id
 Unique identifier.
 
smart_ptr< OptionContextm_options
 Options associated with just this section.
 
- Protected Attributes inherited from Blob
uint8_t * m_data
 The binary data held by this object.
 
unsigned m_length
 Number of bytes pointed to by m_data.
 

Detailed Description

A section of the output file that contains arbitrary binary data.


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