DPC++ Runtime
Runtime libraries for oneAPI DPC++
sycl::_V1::detail::PropertyListBase Class Reference

#include <sycl/detail/property_list_base.hpp>

Inheritance diagram for sycl::_V1::detail::PropertyListBase:
Collaboration diagram for sycl::_V1::detail::PropertyListBase:

Protected Member Functions

 PropertyListBase (std::bitset< DataLessPropKind::DataLessPropKindSize > DataLessProps)
 
 PropertyListBase (std::bitset< DataLessPropKind::DataLessPropKindSize > DataLessProps, std::vector< std::shared_ptr< PropertyWithDataBase >> PropsWithData)
 
void ctorHelper ()
 
template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value > ctorHelper (PropT &, PropsT... Props)
 
template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value > ctorHelper (PropT &Prop, PropsT... Props)
 
template<typename... PropsT, class PropT >
detail::enable_if_t< !std::is_base_of< PropertyWithDataBase, PropT >::value &&!std::is_base_of< DataLessPropertyBase, PropT >::value > ctorHelper (PropT &, PropsT... Props)
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value, bool > has_property_helper () const noexcept
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value, bool > has_property_helper () const noexcept
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< DataLessPropertyBase, PropT >::value, PropT > get_property_helper () const
 
template<typename PropT >
detail::enable_if_t< std::is_base_of< PropertyWithDataBase, PropT >::value, PropT > get_property_helper () const
 
void add_or_replace_accessor_properties_helper (const std::vector< std::shared_ptr< PropertyWithDataBase >> &PropsWithData)
 
void delete_accessor_property_helper (const PropWithDataKind &Kind)
 

Protected Attributes

std::bitset< DataLessPropKind::DataLessPropKindSize > MDataLessProps
 
std::vector< std::shared_ptr< PropertyWithDataBase > > MPropsWithData
 

Detailed Description

Definition at line 22 of file property_list_base.hpp.

Constructor & Destructor Documentation

◆ PropertyListBase() [1/2]

sycl::_V1::detail::PropertyListBase::PropertyListBase ( std::bitset< DataLessPropKind::DataLessPropKindSize >  DataLessProps)
inlineexplicitprotected

Definition at line 24 of file property_list_base.hpp.

◆ PropertyListBase() [2/2]

sycl::_V1::detail::PropertyListBase::PropertyListBase ( std::bitset< DataLessPropKind::DataLessPropKindSize >  DataLessProps,
std::vector< std::shared_ptr< PropertyWithDataBase >>  PropsWithData 
)
inlineprotected

Definition at line 27 of file property_list_base.hpp.

Member Function Documentation

◆ add_or_replace_accessor_properties_helper()

void sycl::_V1::detail::PropertyListBase::add_or_replace_accessor_properties_helper ( const std::vector< std::shared_ptr< PropertyWithDataBase >> &  PropsWithData)
inlineprotected

Definition at line 106 of file property_list_base.hpp.

References sycl::_V1::detail::AccPropBufferLocation.

◆ ctorHelper() [1/4]

void sycl::_V1::detail::PropertyListBase::ctorHelper ( )
inlineprotected

Definition at line 32 of file property_list_base.hpp.

◆ ctorHelper() [2/4]

template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of<DataLessPropertyBase, PropT>::value> sycl::_V1::detail::PropertyListBase::ctorHelper ( PropT &  ,
PropsT...  Props 
)
inlineprotected

Definition at line 37 of file property_list_base.hpp.

◆ ctorHelper() [3/4]

template<typename... PropsT, class PropT >
detail::enable_if_t< !std::is_base_of<PropertyWithDataBase, PropT>::value && !std::is_base_of<DataLessPropertyBase, PropT>::value> sycl::_V1::detail::PropertyListBase::ctorHelper ( PropT &  ,
PropsT...  Props 
)
inlineprotected

Definition at line 56 of file property_list_base.hpp.

◆ ctorHelper() [4/4]

template<typename... PropsT, class PropT >
detail::enable_if_t< std::is_base_of<PropertyWithDataBase, PropT>::value> sycl::_V1::detail::PropertyListBase::ctorHelper ( PropT &  Prop,
PropsT...  Props 
)
inlineprotected

Definition at line 46 of file property_list_base.hpp.

◆ delete_accessor_property_helper()

void sycl::_V1::detail::PropertyListBase::delete_accessor_property_helper ( const PropWithDataKind Kind)
inlineprotected

Definition at line 118 of file property_list_base.hpp.

◆ get_property_helper() [1/2]

template<typename PropT >
detail::enable_if_t< std::is_base_of<DataLessPropertyBase, PropT>::value, PropT> sycl::_V1::detail::PropertyListBase::get_property_helper ( ) const
inlineprotected

Definition at line 84 of file property_list_base.hpp.

◆ get_property_helper() [2/2]

template<typename PropT >
detail::enable_if_t< std::is_base_of<PropertyWithDataBase, PropT>::value, PropT> sycl::_V1::detail::PropertyListBase::get_property_helper ( ) const
inlineprotected

Definition at line 92 of file property_list_base.hpp.

References sycl::_V1::detail::PropWithDataKindSize.

◆ has_property_helper() [1/2]

template<typename PropT >
detail::enable_if_t< std::is_base_of<DataLessPropertyBase, PropT>::value, bool> sycl::_V1::detail::PropertyListBase::has_property_helper ( ) const
inlineprotectednoexcept

◆ has_property_helper() [2/2]

template<typename PropT >
detail::enable_if_t< std::is_base_of<PropertyWithDataBase, PropT>::value, bool> sycl::_V1::detail::PropertyListBase::has_property_helper ( ) const
inlineprotectednoexcept

Definition at line 73 of file property_list_base.hpp.

Member Data Documentation

◆ MDataLessProps

std::bitset<DataLessPropKind::DataLessPropKindSize> sycl::_V1::detail::PropertyListBase::MDataLessProps
protected

Definition at line 131 of file property_list_base.hpp.

◆ MPropsWithData

std::vector<std::shared_ptr<PropertyWithDataBase> > sycl::_V1::detail::PropertyListBase::MPropsWithData
protected

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