![]() |
ACloudViewer
3.9.4
A Modern Library for 3D Data Processing
|
#include <Optional.h>


Public Types | |
| typedef T | value_type |
Public Member Functions | |
| constexpr | optional () noexcept |
| constexpr | optional (nullopt_t) noexcept |
| optional (const optional &rhs) | |
| optional (optional &&rhs) noexcept(std::is_nothrow_move_constructible< T >::value) | |
| template<typename U = T, typename std::enable_if< std::is_constructible< T, U && >::value &&!std::is_same< typename std::decay< U >::type, in_place_t >::value &&!std::is_same< typename std::decay< U >::type, optional< T >>::value &&std::is_convertible< U &&, T > ::value, bool >::type = false> | |
| constexpr | optional (U &&u) |
| template<typename U = T, typename std::enable_if< std::is_constructible< T, U && >::value &&!std::is_same< typename std::decay< U >::type, in_place_t >::value &&!std::is_same< typename std::decay< U >::type, optional< T >>::value &&!std::is_convertible< U &&, T > ::value, bool >::type = false> | |
| constexpr | optional (U &&u) |
| template<class... Args> | |
| constexpr | optional (in_place_t, Args &&... args) |
| template<class U , class... Args, typename std::enable_if< std::is_constructible< T, std::initializer_list< U >> ::value, bool >::type = false> | |
| constexpr | optional (in_place_t, std::initializer_list< U > il, Args &&... args) |
| ~optional ()=default | |
| optional & | operator= (nullopt_t) noexcept |
| optional & | operator= (const optional &rhs) |
| optional & | operator= (optional &&rhs) noexcept(std::is_nothrow_move_assignable< T >::value &&std::is_nothrow_move_constructible< T >::value) |
| template<class U = T> | |
| auto | operator= (U &&v) -> typename std::enable_if< std::is_constructible< T, U >::value &&!std::is_same< typename std::decay< U >::type, optional< T >>::value &&(std::is_scalar< T >::value||std::is_same< typename std::decay< U >::type, T >::value) &&std::is_assignable< T &, U >::value, optional & >::type |
| template<class... Args> | |
| void | emplace (Args &&... args) |
| template<class U , class... Args> | |
| void | emplace (std::initializer_list< U > il, Args &&... args) |
| void | swap (optional< T > &rhs) noexcept(std::is_nothrow_move_constructible< T >::value &&noexcept(std::swap(std::declval< T & >(), std::declval< T & >()))) |
| constexpr | operator bool () const noexcept |
| constexpr bool | has_value () const noexcept |
| constexpr T const * | operator-> () const |
| constexpr T * | operator-> () |
| constexpr T const & | operator* () const & |
| constexpr T & | operator* () & |
| constexpr T && | operator* () && |
| constexpr T const & | value () const & |
| constexpr T & | value () & |
| constexpr T && | value () && |
| template<class V > | |
| constexpr T | value_or (V &&v) const & |
| template<class V > | |
| constexpr T | value_or (V &&v) && |
| void | reset () noexcept |
Definition at line 244 of file Optional.h.
| typedef T cloudViewer::utility::optional< T >::value_type |
Definition at line 299 of file Optional.h.
|
inlineconstexprnoexcept |
Definition at line 302 of file Optional.h.
|
inlineconstexprnoexcept |
Definition at line 303 of file Optional.h.
|
inline |
Definition at line 305 of file Optional.h.
|
inlinenoexcept |
Definition at line 312 of file Optional.h.
|
inlineconstexpr |
Definition at line 334 of file Optional.h.
|
inlineexplicitconstexpr |
Definition at line 344 of file Optional.h.
|
inlineexplicitconstexpr |
Definition at line 347 of file Optional.h.
|
inlineexplicitconstexpr |
Definition at line 354 of file Optional.h.
|
default |
|
inline |
Definition at line 410 of file Optional.h.
Referenced by cloudViewer::t::pipelines::registration::ComputeFPFHFeature(), and cloudViewer::t::pipelines::registration::LegacyComputeFPFHFeature().
|
inline |
Definition at line 416 of file Optional.h.
|
inlineconstexprnoexcept |
Definition at line 440 of file Optional.h.
Referenced by cloudViewer::core::Tensor::All(), cloudViewer::core::Tensor::Any(), cloudViewer::core::BindTensorFullCreation(), cloudViewer::core::BoolToTensor(), cloudViewer::core::CastOptionalDtypeDevice(), cloudViewer::t::pipelines::kernel::ComputeFPFHFeature(), cloudViewer::t::pipelines::registration::ComputeFPFHFeature(), cloudViewer::core::Concatenate(), cloudViewer::core::DoubleToTensor(), cloudViewer::t::geometry::PointCloud::EstimateColorGradients(), cloudViewer::t::geometry::PointCloud::EstimateNormals(), cloudViewer::core::nns::NearestNeighborSearch::FixedRadiusIndex(), cloudViewer::core::TensorKey::SliceImpl::GetStart(), cloudViewer::core::TensorKey::SliceImpl::GetStep(), cloudViewer::core::TensorKey::SliceImpl::GetStop(), cloudViewer::core::nns::NearestNeighborSearch::HybridIndex(), cloudViewer::core::TensorKey::SliceImpl::InstantiateDimSize(), cloudViewer::core::IntToTensor(), cloudViewer::core::DynamicSizeVector::IsDynamic(), cloudViewer::t::pipelines::registration::LegacyComputeFPFHFeature(), cloudViewer::core::nns::pybind_core_nns(), cloudViewer::core::pybind_core_tensor(), cloudViewer::core::pybind_core_tensor_function(), cloudViewer::core::pybind_cuda_utils(), cloudViewer::visualization::pybind_visualization_utility_methods(), cloudViewer::pipelines::color_map::QueryImageIntensity(), cloudViewer::pipelines::registration::RegistrationRANSACBasedOnCorrespondence(), cloudViewer::t::geometry::OrientedBoundingBox::Rotate(), cloudViewer::t::geometry::AxisAlignedBoundingBox::Scale(), cloudViewer::t::geometry::OrientedBoundingBox::Scale(), cloudViewer::ml::contrib::Subsample(), cloudViewer::ml::contrib::SubsampleBatch(), cloudViewer::t::geometry::Image::To(), cloudViewer::core::DynamicSizeVector::ToString(), and cloudViewer::core::TensorKey::SliceImpl::ToString().
|
inlineexplicitconstexprnoexcept |
Definition at line 439 of file Optional.h.
|
inlineconstexpr |
Definition at line 455 of file Optional.h.
|
inlineconstexpr |
Definition at line 460 of file Optional.h.
References cloudViewer::utility::constexpr_move().
|
inlineconstexpr |
Definition at line 451 of file Optional.h.
References TR2_OPTIONAL_ASSERTED_EXPRESSION.
|
inlineconstexpr |
Definition at line 446 of file Optional.h.
|
inlineconstexpr |
Definition at line 442 of file Optional.h.
References TR2_OPTIONAL_ASSERTED_EXPRESSION.
|
inline |
Definition at line 368 of file Optional.h.
|
inlinenoexcept |
Definition at line 363 of file Optional.h.
|
inlinenoexcept |
Definition at line 378 of file Optional.h.
|
inline |
Definition at line 391 of file Optional.h.
|
inlinenoexcept |
Definition at line 497 of file Optional.h.
|
inlinenoexcept |
Definition at line 422 of file Optional.h.
References std::swap().
|
inlineconstexpr |
Definition at line 472 of file Optional.h.
|
inlineconstexpr |
Definition at line 479 of file Optional.h.
|
inlineconstexpr |
Definition at line 465 of file Optional.h.
Referenced by cloudViewer::core::Tensor::All(), cloudViewer::core::Tensor::Any(), cloudViewer::core::BindTensorFullCreation(), cloudViewer::core::BoolToTensor(), cloudViewer::core::CastOptionalDtypeDevice(), cloudViewer::t::pipelines::kernel::ComputeFPFHFeature(), cloudViewer::t::pipelines::registration::ComputeFPFHFeature(), cloudViewer::core::Concatenate(), cloudViewer::core::DoubleToTensor(), cloudViewer::t::geometry::PointCloud::EstimateColorGradients(), cloudViewer::t::geometry::PointCloud::EstimateNormals(), cloudViewer::core::nns::NearestNeighborSearch::FixedRadiusIndex(), cloudViewer::core::TensorKey::SliceImpl::GetStart(), cloudViewer::core::TensorKey::SliceImpl::GetStep(), cloudViewer::core::TensorKey::SliceImpl::GetStop(), cloudViewer::core::nns::NearestNeighborSearch::HybridIndex(), cloudViewer::core::TensorKey::SliceImpl::InstantiateDimSize(), cloudViewer::core::IntToTensor(), cloudViewer::t::pipelines::registration::LegacyComputeFPFHFeature(), cloudViewer::core::nns::pybind_core_nns(), cloudViewer::core::pybind_core_tensor(), cloudViewer::visualization::pybind_visualization_utility_methods(), cloudViewer::pipelines::color_map::QueryImageIntensity(), cloudViewer::pipelines::registration::RegistrationRANSACBasedOnCorrespondence(), cloudViewer::t::geometry::OrientedBoundingBox::Rotate(), cloudViewer::t::geometry::AxisAlignedBoundingBox::Scale(), cloudViewer::t::geometry::OrientedBoundingBox::Scale(), cloudViewer::ml::contrib::Subsample(), cloudViewer::ml::contrib::SubsampleBatch(), cloudViewer::core::DynamicSizeVector::ToString(), and cloudViewer::core::TensorKey::SliceImpl::ToString().
|
inlineconstexpr |
Definition at line 490 of file Optional.h.
References cloudViewer::utility::constexpr_move().
|
inlineconstexpr |
Definition at line 485 of file Optional.h.
Referenced by cloudViewer::t::geometry::Image::To().