#include "MIHMessageRegistry.hh"
//#include "MIHPacket.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
namespace senf {
: public PacketTypeBase,
public PacketTypeMixin<MIHPacketType, MIHMessageRegistry>
{
-#ifndef DOXYGEN
typedef PacketTypeMixin<MIHPacketType, MIHMessageRegistry> mixin;
-#endif
typedef ConcretePacket<MIHPacketType> packet; ///< MIH packet typedef
typedef MIHPacketParser parser; ///< typedef to the parser of MIH packet
using mixin::initSize;
/** \brief Dump given MIH packet in readable form to given output stream */
- static void dump(packet p, std::ostream &os);
+ static void dump(packet p, std::ostream & os);
static void finalize(packet p);
static factory_t nextPacketType(packet p);
+ static void validate(packet p);
};
/** \brief MIH packet typedef
: public PacketTypeBase,
public PacketTypeMixin<MIHGenericPayloadPacketType>
{
-#ifndef DOXYGEN
typedef PacketTypeMixin<MIHGenericPayloadPacketType> mixin;
-#endif
typedef ConcretePacket<MIHGenericPayloadPacketType> packet; ///< MIH Payload packet typedef
typedef MIHGenericPayloadPacketParser parser; ///< typedef to the parser of MIH Payload packet
using mixin::initSize;
/** \brief Dump given MIHGenericPayload in readable form to given output stream */
- static void dump(packet p, std::ostream &os);
+ static void dump(packet p, std::ostream & os);
static void finalize(packet p);
};
}
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
//#include "MIHPacket.cci"
//#include "MIHPacket.ct"
//#include "MIHPacket.cti"