RawSpeed
fast raw decoding library
Loading...
Searching...
No Matches
rawspeed::NORangesSet< T > Class Template Referencefinal

#include "adt/NORangesSet.h"

Collaboration diagram for rawspeed::NORangesSet< T >:
[legend]

Public Member Functions

bool insert (const T &newElt)
std::size_t size () const

Private Member Functions

bool rangeIsOverlappingExistingElementOfSortedSet (const T &newElt) const

Private Attributes

std::set< Telts

Detailed Description

template<typename T>
class rawspeed::NORangesSet< T >

Definition at line 32 of file NORangesSet.h.

Member Function Documentation

◆ insert()

template<typename T>
bool rawspeed::NORangesSet< T >::insert ( const T & newElt)
inline

Definition at line 61 of file NORangesSet.h.

References assert(), elts, rangeIsOverlappingExistingElementOfSortedSet(), and rawspeed::T().

Referenced by rawspeed::TiffIFD::TiffIFD(), rawspeed::CiffEntry::Create(), rawspeed::DngDecoder::decodeData(), and rawspeed::ArwDecoder::DecodeLJpeg().

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

◆ rangeIsOverlappingExistingElementOfSortedSet()

template<typename T>
bool rawspeed::NORangesSet< T >::rangeIsOverlappingExistingElementOfSortedSet ( const T & newElt) const
inlinenodiscardprivate

Definition at line 36 of file NORangesSet.h.

References elts, rawspeed::RangesOverlap(), and rawspeed::T().

Referenced by insert().

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

◆ size()

template<typename T>
std::size_t rawspeed::NORangesSet< T >::size ( ) const
inlinenodiscard

Definition at line 71 of file NORangesSet.h.

References elts.

Member Data Documentation

◆ elts

template<typename T>
std::set<T> rawspeed::NORangesSet< T >::elts
private

Definition at line 33 of file NORangesSet.h.

Referenced by insert(), rangeIsOverlappingExistingElementOfSortedSet(), and size().


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