Overview Tutorial API reference Examples Build Download ZmqMessage 0.1 - 21 Oct 2011

include/zmqmessage/TypeCheck.hpp

Go to the documentation of this file.
00001 
00010 #ifndef ZMQMESSAGE_TYPECHECK_HPP_
00011 #define ZMQMESSAGE_TYPECHECK_HPP_
00012 
00013 namespace ZmqMessage
00014 {
00015   namespace Private
00016   {
00021     template <
00022       typename MessageFormatErrorT,
00023       typename NoSuchPartErrorT,
00024       typename ZmqErrorTypeT>
00025     struct TypeCheck
00026     {
00027       //defined in shared library for correct types
00028       static const int value;
00029     };
00030 
00031     namespace
00032     {
00033       const int type_check_ok = TypeCheck<
00034         MessageFormatError, NoSuchPartError, ZmqErrorType>::value;
00035     }
00036   }
00037 }
00038 
00039 #endif /* ZMQMESSAGE_TYPECHECK_HPP_ */

ZmqMessage 0.1 — open source software, support@zmqmessage.org