framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Friends | List of all members
framework::serializable::comparable< Parent > Struct Template Reference

Comparable template. More...

#include <framework/serializable/mutators/comparable.hpp>

Friends

FRAMEWORK_ALWAYS_INLINE friend bool operator< (Parent const &lhs, Parent const &rhs)
 Less than operator.
 
FRAMEWORK_ALWAYS_INLINE friend bool operator> (Parent const &lhs, Parent const &rhs)
 Greater than operator.
 
FRAMEWORK_ALWAYS_INLINE friend bool operator<= (Parent const &lhs, Parent const &rhs)
 Less than or equal to operator.
 
FRAMEWORK_ALWAYS_INLINE friend bool operator>= (Parent const &lhs, Parent const &rhs)
 Greater than or equal to operator.
 
FRAMEWORK_ALWAYS_INLINE friend bool operator== (Parent const &lhs, Parent const &rhs)
 Equal to operator.
 
FRAMEWORK_ALWAYS_INLINE friend bool operator!= (Parent const &lhs, Parent const &rhs)
 Not equal to operator.
 

Detailed Description

template<typename Parent>
struct framework::serializable::comparable< Parent >

Comparable template.

Provide Parent with conventional operator methods to interface with the above free functions using the Barton-Nackman trick.

Template Parameters
Parentparent class

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