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

#include <PictureInfoTag.h>

Inheritance diagram for CPictureInfoTag:
IArchivable ISerializable ISortable

Public Member Functions

 CPictureInfoTag ()
 
virtual ~CPictureInfoTag ()=default
 
void Reset ()
 
void Archive (CArchive &ar) override
 
void Serialize (CVariant &value) const override
 
void ToSortable (SortItem &sortable, Field field) const override
 
const std::string GetInfo (int info) const
 
bool Loaded () const
 
bool Load (const std::string &path)
 
void SetInfo (const std::string &key, const std::string &value)
 
const CDateTimeGetDateTimeTaken () const
 
- Public Member Functions inherited from IArchivable
- Public Member Functions inherited from ISerializable
- Public Member Functions inherited from ISortable

Friends

class KODI::ADDONS::CImageDecoder
 

Additional Inherited Members

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

Constructor & Destructor Documentation

◆ CPictureInfoTag()

CPictureInfoTag::CPictureInfoTag ( )
inline

◆ ~CPictureInfoTag()

virtual CPictureInfoTag::~CPictureInfoTag ( )
virtualdefault

Member Function Documentation

◆ Archive()

void CPictureInfoTag::Archive ( CArchive & ar)
overridevirtual

Implements IArchivable.

◆ GetDateTimeTaken()

const CDateTime & CPictureInfoTag::GetDateTimeTaken ( ) const

GetDateTimeTaken() – Returns the EXIF DateTimeOriginal for current picture

The exif library returns DateTimeOriginal if available else the other DateTime tags.

◆ GetInfo()

const std::string CPictureInfoTag::GetInfo ( int info) const

◆ Load()

bool CPictureInfoTag::Load ( const std::string & path)

◆ Loaded()

bool CPictureInfoTag::Loaded ( ) const
inline

◆ Reset()

void CPictureInfoTag::Reset ( )

◆ Serialize()

void CPictureInfoTag::Serialize ( CVariant & value) const
overridevirtual

Implements ISerializable.

◆ SetInfo()

void CPictureInfoTag::SetInfo ( const std::string & key,
const std::string & value )

◆ ToSortable()

void CPictureInfoTag::ToSortable ( SortItem & sortable,
Field field ) const
overridevirtual

Implements ISortable.

Friends And Related Symbol Documentation

◆ KODI::ADDONS::CImageDecoder

friend class KODI::ADDONS::CImageDecoder
friend

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