Castor3D 0.16.0
Multiplatform 3D engine
Classes | Espaces de nommage | Fonctions
Référence du fichier FlagCombination.hpp

Classes

struct  castor::FlagIterator< FlagTypeT, IteratorTraitsT >
 Template iterator class on a binary combination of flags. Plus de détails...
 
class  castor::FlagCombination< FlagType >
 Classe template qui fournit une conversion implicite depuis un scoped enum vers son type entier de base. Plus de détails...
 

Espaces de nommage

namespace  castor
 

Fonctions

template<typename FlagTypeT , typename IteratorTraitsT >
constexpr bool castor::operator== (FlagIterator< FlagTypeT, IteratorTraitsT > const &lhs, FlagIterator< FlagTypeT, IteratorTraitsT > const &rhs)
 
template<typename FlagTypeT , typename IteratorTraitsT >
constexpr bool castor::operator!= (FlagIterator< FlagTypeT, IteratorTraitsT > const &lhs, FlagIterator< FlagTypeT, IteratorTraitsT > const &rhs)
 
template<typename T , typename U >
constexpr bool castor::hasAll (T const &value, U const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAll (FlagCombination< FlagType > const &value, FlagType const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAll (FlagType const &value, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAll (typename FlagCombination< FlagType >::BaseType const &value, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAll (FlagCombination< FlagType > const &value, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAll (FlagCombination< FlagType > const &value, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename T , typename U >
constexpr bool castor::hasAny (T const &value, U const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::hasAny (FlagCombination< FlagType > const &value, FlagType const &rhs) noexcept
 
template<typename FlagType , typename Type >
constexpr bool castor::hasAny (FlagCombination< FlagType > const &value, Type const &rhs) noexcept
 
template<typename T , typename U >
constexpr bool castor::checkFlag (T const &value, U const &flag) noexcept
 
template<typename FlagType >
constexpr bool castor::checkFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept
 
template<typename FlagType , typename Type >
constexpr bool castor::checkFlag (FlagCombination< FlagType > const &value, Type const &flag) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > & castor::addFlag (FlagCombination< FlagType > &value, FlagType const &flag) noexcept
 Ajoute un indicateur à la valeur donnée.
 
template<typename FlagType >
constexpr FlagCombination< FlagType > & castor::addFlags (FlagCombination< FlagType > &value, FlagCombination< FlagType > const &flags) noexcept
 Ajoute une combinaison d'indicateurs à la valeur donnée.
 
template<typename FlagType >
constexpr FlagCombination< FlagType > & castor::remFlags (FlagCombination< FlagType > &value, FlagCombination< FlagType > const &flags) noexcept
 Enlève une combinaison d'indicateurs de la valeur donnée.
 
template<typename FlagType >
constexpr FlagCombination< FlagType > & castor::remFlag (FlagCombination< FlagType > &value, FlagType const &flag) noexcept
 Enlève un indicateur de la valeur donnée.
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::addFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept
 Ajoute un indicateur à la valeur donnée.
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::remFlag (FlagCombination< FlagType > const &value, FlagType const &flag) noexcept
 Enlève un indicateur de la valeur donnée.
 

Opérateurs de comparaison.

template<typename FlagType >
constexpr bool castor::operator== (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::operator== (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::operator!= (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr bool castor::operator!= (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept
 

Opérateurs binaires.

template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator& (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator| (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator^ (FlagCombination< FlagType > const &lhs, FlagType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator& (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator| (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator^ (FlagCombination< FlagType > const &lhs, typename FlagCombination< FlagType >::BaseType const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator& (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator| (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept
 
template<typename FlagType >
constexpr FlagCombination< FlagType > castor::operator^ (FlagCombination< FlagType > const &lhs, FlagCombination< FlagType > const &rhs) noexcept