trindicator_concept.h

Back to Three-state indicator

pastel/sys/trindicator/

// Description: Three-state indicator concept

#ifndef PASTELSYS_TRINDICATOR_CONCEPT_H
#define PASTELSYS_TRINDICATOR_CONCEPT_H

#include "pastel/sys/mytypes.h"

namespace Pastel
{

    namespace Trindicator_Concept
    {

        class Trindicator
        {
        public:
            //! Returns whether 'that' is part of the set.
            /*!
           + = part of the set,
           0 = fuzzy boundary of the set, and
           - = not part of the set.
           */
            integer operator()(const UserDefinedType& that) const;
        };

    }

}

#endif