regina::PacketInfo< packetType > Struct Template Reference
Basic Packet Types

A template that stores information about a particular type of packet. More...

`#include <packet/npacket.h>`

## Detailed Description

### template<PacketType packetType>
struct regina::PacketInfo< packetType >

A template that stores information about a particular type of packet.

Much of this information is given in the form of compile-time constants and types.

To iterate through cases for a given value of PacketInfo that is not known until runtime, see the various forPacket() routines defined in packetregistry.h.

At a bare minimum, each specialisation of this template must provide:

- a typedef Class that represents the corresponding NPacket subclass;
- a static function name() that returns a C-style string giving the human-readable name of the packet type.

Python:
  Not present.

The documentation for this struct was generated from the following file:

- packet/npacket.h

Copyright © 1999-2014, The Regina development team
This software is released under the GNU General Public License, with some additional permissions; see the source code for details.
For further information, or to submit a bug or other problem, please contact Ben Burton (bab@debian.org).