ULIS  dev4.0.7
Utility Library for Imaging Systems
Public Member Functions | Public Attributes | List of all members
FFormatMetrics Class Reference

The FFormatMetrics class provides a way to store cached information extrapolated from the eFormat bitfield. More...

Public Member Functions

 FFormatMetrics (const FFormatMetrics &iOther)
 
 FFormatMetrics (eFormat iFMT)
 
 FFormatMetrics (FFormatMetrics &&iOther)
 
 ~FFormatMetrics ()
 
FFormatMetricsoperator= (const FFormatMetrics &iOther)
 
FFormatMetrics ReinterpretedFloatType (eType iType) const
 

Public Attributes

uint8 AID
 
uint8 BPC
 
uint8 BPP
 
eColorModel CM
 
eFormat FMT
 
bool HEA
 
uint8IDT
 
bool LIN
 
uint8 NCC
 
bool PLA
 
bool PRE
 
uint8 PRO
 
bool REV
 
uint8 RSC
 
uint8 SPP
 
bool SWA
 
eType TP
 

Detailed Description

The FFormatMetrics class is meant to be used when cached format info is needed for organization of documents or in various algorithms.

See also
IHasFormat

Constructor & Destructor Documentation

◆ ~FFormatMetrics()

FFormatMetrics::~FFormatMetrics ( )

Destructor.

◆ FFormatMetrics() [1/3]

FFormatMetrics::FFormatMetrics ( eFormat  iFMT)

Constructor from eFormat.

◆ FFormatMetrics() [2/3]

FFormatMetrics::FFormatMetrics ( const FFormatMetrics iOther)

Copy constructor.

◆ FFormatMetrics() [3/3]

FFormatMetrics::FFormatMetrics ( FFormatMetrics &&  iOther)

Move constructor.

Member Function Documentation

◆ operator=()

FFormatMetrics& FFormatMetrics::operator= ( const FFormatMetrics iOther)

Copy assignment operator.

◆ ReinterpretedFloatType()

FFormatMetrics FFormatMetrics::ReinterpretedFloatType ( eType  iType) const

Reinterpret the format by changing its type only.

Member Data Documentation

◆ AID

uint8 FFormatMetrics::AID

Cached Alpha Index

◆ BPC

uint8 FFormatMetrics::BPC

Cached Bytes Per Channel

◆ BPP

uint8 FFormatMetrics::BPP

Cached Bytes Per Pixel

◆ CM

eColorModel FFormatMetrics::CM

Cached Color Model

◆ FMT

eFormat FFormatMetrics::FMT

Cached Format

◆ HEA

bool FFormatMetrics::HEA

Cached Has Extra Alpha

◆ IDT

uint8* FFormatMetrics::IDT

Cached Index Table

◆ LIN

bool FFormatMetrics::LIN

Cached Linear

◆ NCC

uint8 FFormatMetrics::NCC

Cached Num Color Channels

◆ PLA

bool FFormatMetrics::PLA

Cached Planar

◆ PRE

bool FFormatMetrics::PRE

Cached Premultiplied

◆ PRO

uint8 FFormatMetrics::PRO

Cached Default Profile Code

◆ REV

bool FFormatMetrics::REV

Cached Reversed

◆ RSC

uint8 FFormatMetrics::RSC

Cached ReverseSwapped Code

◆ SPP

uint8 FFormatMetrics::SPP

Cached Samples Per Pixel

◆ SWA

bool FFormatMetrics::SWA

Cached Swapped

◆ TP

eType FFormatMetrics::TP

Cached Type