Base class for implementation classes of site sets. More...
#include <site_set.hh>
Public Types | |
typedef Site_Set< void > | category |
typedef E | exact_t |
Protected Member Functions | |
Site_Set () | |
Related Functions | |
(Note that these are not member functions.) | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Set theoretic difference of lhs and rhs . | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | inter (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Intersection between a couple of point sets. | |
template<typename Sl , typename Sr > | |
bool | operator< (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Strict inclusion test between site sets lhs and rhs . | |
template<typename S > | |
std::ostream & | operator<< (std::ostream &ostr, const Site_Set< S > &set) |
Print a site set set into the output stream ostr . | |
template<typename Sl , typename Sr > | |
bool | operator<= (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Inclusion test between site sets lhs and rhs . | |
template<typename Sl , typename Sr > | |
bool | operator== (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Equality test between site sets lhs and rhs . | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | sym_diff (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Set theoretic symmetrical difference of lhs and rhs . | |
template<typename Sl , typename Sr > | |
p_set< typename Sl::site > | uni (const Site_Set< Sl > &lhs, const Site_Set< Sr > &rhs) |
Union of a couple of point sets. | |
template<typename S > | |
p_set< typename S::site > | unique (const Site_Set< S > &s) |
Give the unique set of s . |
Base class for implementation classes of site sets.
typedef Site_Set<void> mln::Site_Set< E >::category |
Reimplemented from mln::Object< E >.
typedef E mln::Object< E >::exact_t [inherited] |
mln::Site_Set< E >::Site_Set | ( | ) | [inline, protected] |
p_set< typename Sl::site > diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Set theoretic difference of lhs
and rhs
.
p_set< typename Sl::site > inter | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Intersection between a couple of point sets.
bool operator< | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Strict inclusion test between site sets lhs
and rhs
.
[in] | lhs | A site set (strictly included?). |
[in] | rhs | Another site set (includer?). |
std::ostream & operator<< | ( | std::ostream & | ostr, | |
const Site_Set< S > & | set | |||
) | [related] |
Print a site set set
into the output stream ostr
.
[in,out] | ostr | An output stream. |
[in] | set | A site set. |
ostr
. bool operator<= | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Inclusion test between site sets lhs
and rhs
.
[in] | lhs | A site set (included?). |
[in] | rhs | Another site set (includer?). |
bool operator== | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Equality test between site sets lhs
and rhs
.
[in] | lhs | A site set. |
[in] | rhs | Another site set. |
p_set< typename Sl::site > sym_diff | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Set theoretic symmetrical difference of lhs
and rhs
.
p_set< typename Sl::site > uni | ( | const Site_Set< Sl > & | lhs, | |
const Site_Set< Sr > & | rhs | |||
) | [related] |
Union of a couple of point sets.