载入中...
搜索中...
未找到
eve::ui::PcgPhotoModeRanges类 参考

Complete 57-range contract from Pcg PhotoModeMinAndMaxValues. 更多...

#include <PcgPhotoModeRanges.h>

Public 成员函数

 PcgPhotoModeRanges ()
 Pcg photo mode ranges.
 
void resetDefaults ()
 Restore all Pcg range defaults.
 
uint64_t getCount () const noexcept
 Return range count.
 
Result< std::string > getName (uint64_t index) const
 Return range name in declaration order.
 
Result< void > select (const std::string &name)
 Select a range for component reads.
 
Result< void > setRange (const std::string &name, double minimum, double maximum)
 Replace one range; integer ranges require integral endpoints.
 
Result< double > clamp (const std::string &name, double value) const
 Clamp a finite value to the named range.
 
double getMinimum () const noexcept
 Returns the minimum.
 
double getMaximum () const noexcept
 
bool getIntegral () const noexcept
 

详细描述

Complete 57-range contract from Pcg PhotoModeMinAndMaxValues.

在文件 PcgPhotoModeRanges.h 第 14 行定义.

构造及析构函数说明

◆ PcgPhotoModeRanges()

eve::ui::PcgPhotoModeRanges::PcgPhotoModeRanges ( )

Pcg photo mode ranges.

在文件 PcgPhotoModeRanges.cpp 第 68 行定义.

成员函数说明

◆ clamp()

Result< double > eve::ui::PcgPhotoModeRanges::clamp ( const std::string &  name,
double  value 
) const

Clamp a finite value to the named range.

在文件 PcgPhotoModeRanges.cpp 第 72 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, n, eve::Result< T >::success() , 以及 v.

◆ getCount()

uint64_t eve::ui::PcgPhotoModeRanges::getCount ( ) const
noexcept

Return range count.

在文件 PcgPhotoModeRanges.cpp 第 68 行定义.

引用了 resetDefaults().

◆ getIntegral()

bool eve::ui::PcgPhotoModeRanges::getIntegral ( ) const
inlinenoexcept

在文件 PcgPhotoModeRanges.h 第 25 行定义.

◆ getMaximum()

double eve::ui::PcgPhotoModeRanges::getMaximum ( ) const
inlinenoexcept

在文件 PcgPhotoModeRanges.h 第 25 行定义.

◆ getMinimum()

double eve::ui::PcgPhotoModeRanges::getMinimum ( ) const
inlinenoexcept

Returns the minimum.

在文件 PcgPhotoModeRanges.h 第 25 行定义.

◆ getName()

Result< std::string > eve::ui::PcgPhotoModeRanges::getName ( uint64_t  index) const

Return range name in declaration order.

在文件 PcgPhotoModeRanges.cpp 第 69 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), first, eve::InvalidArgument, size , 以及 eve::Result< T >::success().

◆ resetDefaults()

void eve::ui::PcgPhotoModeRanges::resetDefaults ( )

Restore all Pcg range defaults.

在文件 PcgPhotoModeRanges.cpp 第 68 行定义.

被这些函数引用 getCount().

◆ select()

Result< void > eve::ui::PcgPhotoModeRanges::select ( const std::string &  name)

Select a range for component reads.

在文件 PcgPhotoModeRanges.cpp 第 70 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, n , 以及 eve::Result< T >::success().

◆ setRange()

Result< void > eve::ui::PcgPhotoModeRanges::setRange ( const std::string &  name,
double  minimum,
double  maximum 
)

Replace one range; integer ranges require integral endpoints.

在文件 PcgPhotoModeRanges.cpp 第 71 行定义.

引用了 eve::Diagnostic::error(), eve::Result< T >::failure(), eve::InvalidArgument, n , 以及 eve::Result< T >::success().


该类的文档由以下文件生成: