Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
EmbeddedArtInfo Class Reference

#include <EmbeddedArt.h>

Inheritance diagram for EmbeddedArtInfo:
IArchivable EmbeddedArt

Public Member Functions

 EmbeddedArtInfo ()=default
 
 EmbeddedArtInfo (size_t size, const std::string &mime, const std::string &type="")
 
virtual ~EmbeddedArtInfo ()=default
 
void Archive (CArchive &ar) override
 
void Set (size_t size, const std::string &mime, const std::string &type="")
 
void Clear ()
 
bool Empty () const
 
bool Matches (const EmbeddedArtInfo &right) const
 
void SetType (const std::string &type)
 
- Public Member Functions inherited from IArchivable

Public Attributes

size_t m_size = 0
 
std::string m_mime
 
std::string m_type
 

Additional Inherited Members

- Protected Member Functions inherited from IArchivable
virtual ~IArchivable ()=default
 

Constructor & Destructor Documentation

◆ EmbeddedArtInfo() [1/2]

EmbeddedArtInfo::EmbeddedArtInfo ( )
default

◆ EmbeddedArtInfo() [2/2]

EmbeddedArtInfo::EmbeddedArtInfo ( size_t size,
const std::string & mime,
const std::string & type = "" )

◆ ~EmbeddedArtInfo()

virtual EmbeddedArtInfo::~EmbeddedArtInfo ( )
virtualdefault

Member Function Documentation

◆ Archive()

void EmbeddedArtInfo::Archive ( CArchive & ar)
overridevirtual

Implements IArchivable.

◆ Clear()

void EmbeddedArtInfo::Clear ( )

◆ Empty()

bool EmbeddedArtInfo::Empty ( ) const

◆ Matches()

bool EmbeddedArtInfo::Matches ( const EmbeddedArtInfo & right) const

◆ Set()

void EmbeddedArtInfo::Set ( size_t size,
const std::string & mime,
const std::string & type = "" )

◆ SetType()

void EmbeddedArtInfo::SetType ( const std::string & type)
inline

Member Data Documentation

◆ m_mime

std::string EmbeddedArtInfo::m_mime

◆ m_size

size_t EmbeddedArtInfo::m_size = 0

◆ m_type

std::string EmbeddedArtInfo::m_type

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