SoundFontInfoLib  2.21.6
Library for parsing and rendering SF2 files
SF2::Entity::Version Class Reference

Memory layout of a 'iver' entry in a sound font resource. More...

#include <Version.hpp>

Public Member Functions

 Version ()
 
void load (const IO::Pos &pos)
 Constructor that reads from file. More...
 
void dump (const std::string &indent) const
 Utility for displaying bag contents on output stream. More...
 

Static Public Attributes

constexpr static size_t size = 4
 

Detailed Description

Memory layout of a 'iver' entry in a sound font resource.

Holds the version info of a file.

Constructor & Destructor Documentation

◆ Version()

SF2::Entity::Version::Version ( )
inline

Member Function Documentation

◆ dump()

void Version::dump ( const std::string &  indent) const

Utility for displaying bag contents on output stream.

Parameters
indentthe prefix to write out before each line

◆ load()

void SF2::Entity::Version::load ( const IO::Pos pos)
inline

Constructor that reads from file.

Parameters
poslocation to read from

References SF2::IO::Pos::readInto(), and size.

Referenced by SF2::IO::File::File().

Member Data Documentation

◆ size

constexpr static size_t SF2::Entity::Version::size = 4
staticconstexpr

Referenced by load().


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