/*
* File: BootImage.h
*
* Copyright (c) Freescale Semiconductor, Inc. All rights reserved.
* See included license file for license details.
*/
#if !defined(_BootImage_h_)
#define _BootImage_h_
#include <iostream>
#include "Version.h"
namespace elftosb
{
/*!
* \brief Abstract base class for all boot image format classes.
*
* Provides virtual methods for all of the common features between different
* boot image formats. These are the product and component version numbers
* and the drive tag.
*
* Also provided is the virtual method writeToStream() that lets the caller
* stream out the boot image without knowing the underlying format type.
*/
class BootImage
{
public:
//! \brief Constructor.
BootImage() {}