RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
Hints Class Referencefinal

#include "metadata/Camera.h"

Collaboration diagram for Hints:
[legend]

Public Member Functions

void add (const std::string &key, const std::string &value)
bool contains (const std::string &key) const
template<typename T>
get (const std::string &key, T defaultValue) const
bool get (const std::string &key, bool defaultValue) const

Private Attributes

std::map< std::string, std::string, std::less<> > data

Detailed Description

Definition at line 47 of file Camera.h.

Member Function Documentation

◆ add()

void rawspeed::Hints::add ( const std::string & key,
const std::string & value )
inline

Definition at line 51 of file Camera.h.

◆ contains()

bool rawspeed::Hints::contains ( const std::string & key) const
inlinenodiscard

Definition at line 55 of file Camera.h.

◆ get() [1/2]

bool rawspeed::Hints::get ( const std::string & key,
bool defaultValue ) const
inlinenodiscard

Definition at line 69 of file Camera.h.

◆ get() [2/2]

template<typename T>
T rawspeed::Hints::get ( const std::string & key,
T defaultValue ) const
inlinenodiscard

Definition at line 60 of file Camera.h.

Member Data Documentation

◆ data

std::map<std::string, std::string, std::less<> > rawspeed::Hints::data
private

Definition at line 48 of file Camera.h.


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