src/types.cpp
/*!
 * \fn bool isValid() const
 * \brief returns whether the type is valid
 */
\fn bool isValid() const
\brief returns whether the type is valid
\ fn bool isValid () const \ brief returns whether the type is valid
bool Type::isValid() const
{
  const int masked = d & categoryMask();
  return !isNull() && (masked & (masked - 1)) == 0;
}
bool Type :: isValid ( ) const { const int masked = d & categoryMask ( ) ; return ! isNull ( ) && ( masked & ( masked - 1 ) ) == 0 ; }
\fn bool isValid() const
 \brief returns whether the type is valid
\ fn bool isValid () const \ brief returns whether the type is valid