![]() |
ircproxy The Ultimate Cyborg |
Definition in file Watched.h.
#include <set>
#include <boost/shared_ptr.hpp>
#include "debug.h"
#include "ExpressionInterface.h"
#include "Expression.h"
Go to the source code of this file.
Classes | |
| class | WatchedExpression< T > |
| An expression consisting of a single Watched object. More... | |
| class | Watched< T > |
| A wrapper class for arbitrary objects of type T that need to be watched. More... | |
Functions | |
| template<typename T> | |
| std::ostream & | operator<< (std::ostream &os, Watched< T > const &b) |
| Serialize a Watched object. | |
| template<typename T1, typename T2> | |
| bool | operator== (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| bool | operator!= (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| bool | operator< (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| bool | operator<= (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| bool | operator> (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| bool | operator>= (Watched< T1 > const &v1, T2 const &v2) |
| Compare a Watched object with another object. | |
| template<typename T1, typename T2> | |
| T1 | operator & (Watched< T1 > const &v1, T2 const &v2) |
| Perform a bitwise AND of a Watched object with another object. | |
| template<typename T1, typename T2> | |
| T1 | operator| (Watched< T1 > const &v1, T2 const &v2) |
| Perform a bitwise OR of a Watched object with another object. | |
| template<typename T1, typename T2> | |
| T1 | operator^ (Watched< T1 > const &v1, T2 const &v2) |
| Perform a bitwise XOR of a Watched object with another object. | |
| std::ostream& operator<< | ( | std::ostream & | os, | |
| Watched< T > const & | b | |||
| ) | [inline] |
| bool operator== | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Compare a Watched object with another object.
Definition at line 242 of file Watched.h.
References Watched< T >::value().
00242 { return v1.value() == v2; }
| bool operator!= | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Compare a Watched object with another object.
Definition at line 244 of file Watched.h.
References Watched< T >::value().
00244 { return v1.value() != v2; }
| bool operator< | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
| bool operator<= | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
| bool operator> | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Compare a Watched object with another object.
Definition at line 250 of file Watched.h.
References Watched< T >::value().
00250 { return v1.value() > v2; }
| bool operator>= | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Compare a Watched object with another object.
Definition at line 252 of file Watched.h.
References Watched< T >::value().
00252 { return v1.value() >= v2; }
| T1 operator & | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Perform a bitwise AND of a Watched object with another object.
Definition at line 254 of file Watched.h.
References Watched< T >::value().
00254 { return v1.value() & v2; }
| T1 operator| | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Perform a bitwise OR of a Watched object with another object.
Definition at line 256 of file Watched.h.
References Watched< T >::value().
00256 { return v1.value() | v2; }
| T1 operator^ | ( | Watched< T1 > const & | v1, | |
| T2 const & | v2 | |||
| ) | [inline] |
Perform a bitwise XOR of a Watched object with another object.
Definition at line 258 of file Watched.h.
References Watched< T >::value().
00258 { return v1.value() ^ v2; }
| Copyright © 2005-2007 Carlo Wood. All rights reserved. |
|---|