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

#include "metadata/Camera.h"

Collaboration diagram for rawspeed::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>
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()

◆ contains()

◆ get() [1/2]

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

Definition at line 69 of file Camera.h.

References data.

◆ 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.

References data, and rawspeed::T().

Referenced by rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST(), and rawspeed_test::anonymous_namespace{CameraTest.cpp}::TEST_P().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ data

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

Definition at line 48 of file Camera.h.

Referenced by add(), contains(), get(), and get().


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