API Documentation
Loading...
Searching...
No Matches
ImageData Class Reference

#include <ImageFactory.h>

Collaboration diagram for ImageData:
[legend]

Public Member Functions

 ImageData (const String &id, ImageFactory &image_factory)
 
 ImageData (const ImageData &data)
 
 ImageData (ImageData &&data) noexcept
 
 ~ImageData ()
 
const Filefile () const
 
const Buffer< uint01 > & getUncompressed () const
 
const Buffer< uint01 > & getCompressed (const String &default_image_format) const
 
const Vector< 2, uint04 > & size () const
 
Time modifiedTime () const
 
String compressionFormat () const
 

Protected Attributes

ImageFactorym_image_factory
 
const String m_id
 

Constructor & Destructor Documentation

◆ ImageData() [1/3]

ImageData ( const String & id,
ImageFactory & image_factory )

◆ ImageData() [2/3]

ImageData ( const ImageData & data)

◆ ImageData() [3/3]

ImageData ( ImageData && data)
noexcept

◆ ~ImageData()

~ImageData ( )

Member Function Documentation

◆ compressionFormat()

String compressionFormat ( ) const
nodiscard

◆ file()

const File & file ( ) const
nodiscard

◆ getCompressed()

const Buffer< uint01 > & getCompressed ( const String & default_image_format) const
nodiscard

◆ getUncompressed()

const Buffer< uint01 > & getUncompressed ( ) const
nodiscard

◆ modifiedTime()

Time modifiedTime ( ) const
nodiscard

◆ size()

const Vector< 2, uint04 > & size ( ) const
nodiscard

Member Data Documentation

◆ m_id

const String m_id
protected

◆ m_image_factory

ImageFactory& m_image_factory
protected

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