libopenraw
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
OpenRaw::Internals::MakerNoteDir Class Reference
Inheritance diagram for OpenRaw::Internals::MakerNoteDir:
OpenRaw::Internals::IfdDir

Public Types

typedef std::shared_ptr< MakerNoteDirRef
 
- Public Types inherited from OpenRaw::Internals::IfdDir
typedef std::shared_ptr< IfdDirRef
 
typedef std::vector< Ref > RefVec
 

Public Member Functions

 MakerNoteDir (off_t _offset, IfdFileContainer &_container, off_t mnote_offset, const std::string &id)
 
off_t getMnoteOffset () const
 
const std::string & getId () const
 
- Public Member Functions inherited from OpenRaw::Internals::IfdDir
 IfdDir (off_t _offset, IfdFileContainer &_container)
 
bool isPrimary () const
 
bool isThumbnail () const
 
off_t offset () const
 
const IfdFileContainercontainer () const
 
bool load ()
 
int numTags ()
 
IfdEntry::Ref getEntry (uint16_t id) const
 
template<typename T >
Option< T > getValue (uint16_t id) const
 
Option< uint32_t > getIntegerValue (uint16_t id)
 
off_t nextIFD ()
 
Ref getSubIFD (uint32_t idx=0) const
 
Option< std::vector< IfdDir::Ref > > getSubIFDs ()
 
Ref getExifIFD ()
 
Ref getMakerNoteIfd ()
 

Static Public Member Functions

static Ref createMakerNote (off_t offset, IfdFileContainer &container)
 

Protected Member Functions

 MakerNoteDir (const char *magic, size_t hlen, off_t _offset, IfdFileContainer &_container, off_t mnote_offset, const std::string &id)
 

Protected Attributes

std::string m_magic
 
size_t m_hlen
 
off_t m_mnote_offset
 
std::string m_id
 

Detailed Description

Definition at line 37 of file makernotedir.hpp.

Member Function Documentation

◆ createMakerNote()

MakerNoteDir::Ref OpenRaw::Internals::MakerNoteDir::createMakerNote ( off_t  offset,
IfdFileContainer container 
)
static

Create the appropriate MakerNote at offset

Definition at line 39 of file makernotedir.cpp.

References OpenRaw::Internals::IfdDir::offset().

Referenced by OpenRaw::Internals::IfdDir::getMakerNoteIfd().


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