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

#include <EmbeddedArt.h>

Inheritance diagram for EmbeddedArt:
EmbeddedArtInfo IArchivable

Public Member Functions

 EmbeddedArt ()=default
 
 EmbeddedArt (const uint8_t *data, size_t size, const std::string &mime, const std::string &type="")
 
void Set (const uint8_t *data, size_t size, const std::string &mime, const std::string &type="")
 
- Public Member Functions inherited from EmbeddedArtInfo
 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

std::vector< uint8_tm_data
 
- Public Attributes inherited from EmbeddedArtInfo
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

◆ EmbeddedArt() [1/2]

EmbeddedArt::EmbeddedArt ( )
default

◆ EmbeddedArt() [2/2]

EmbeddedArt::EmbeddedArt ( const uint8_t * data,
size_t size,
const std::string & mime,
const std::string & type = "" )

Member Function Documentation

◆ Set()

void EmbeddedArt::Set ( const uint8_t * data,
size_t size,
const std::string & mime,
const std::string & type = "" )

Member Data Documentation

◆ m_data

std::vector<uint8_t> EmbeddedArt::m_data

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