00001
00049 namespace mon
00050 {
00051
00052
00054 template< typename ShorthandElement >
00055 class sendable
00056 {
00057 public:
00058 static std::ostream &operator<<( std::ostream &, const ShorthandElement & );
00059 };
00060
00061
00062 struct _basicMessage
00063 {
00064 const char * const desc_;
00065 const char * const file_;
00066 const int line_;
00067 };
00068
00069 class warning: sendable<_basicMessage>
00070 {
00071 public:
00072 warning( const char const * &desc, const char const *file, int line ):
00073 desc_(desc), file_(file), line_(line) { }
00074
00075 };
00076
00077
00078
00079
00080 };