Deals with packets of information that form the working data objects.
More...
#include <iostream>
#include <iterator>
#include <map>
#include <memory>
#include <set>
#include "regina-core.h"
#include "core/output.h"
#include "file/fileformat.h"
#include "packet/packettype.h"
#include "utilities/base64.h"
|
namespace | regina |
| Contains the entire Regina calculation engine.
|
|
|
#define | REGINA_PACKET(id, name) |
| Defines various constants and virtual functions for a subclass of Packet.
|
|
|
template<typename Held > |
std::shared_ptr< PacketOf< Held > > | regina::make_packet (Held &&src) |
| Converts a temporary Held object into a new wrapped packet, without making a deep copy.
|
|
template<typename Held > |
std::shared_ptr< PacketOf< Held > > | regina::make_packet (Held &&src, const std::string &label) |
| Converts a temporary Held object into a new wrapped packet, without making a deep copy.
|
|
template<typename Held , typename... Args> |
std::shared_ptr< PacketOf< Held > > | regina::make_packet (std::in_place_t, Args &&... args) |
| Creates a new packet that wraps a Held object, passing the given arguments to the Held constructor.
|
|
template<typename Held > |
std::shared_ptr< PacketOf< Held > > | regina::make_packet () |
| Creates a new packet that wraps a default-constructed Held object.
|
|
template<typename Held > |
Held & | regina::static_packet_cast (Packet &p) |
| Casts a reference from Packet to Held, assuming that the given packet is actually a PacketOf<Held>.
|
|
template<typename Held > |
const Held & | regina::static_packet_cast (const Packet &p) |
| Casts a const reference from Packet to Held, assuming that the given packet is actually a PacketOf<Held>.
|
|
std::shared_ptr< Packet > | regina::open (const char *filename) |
| Reads a Regina data file, and returns the corresponding packet tree.
|
|
std::shared_ptr< Packet > | regina::open (std::istream &in) |
| Reads a Regina data file from the given input stream, and returns the corresponding packet tree.
|
|
bool | regina::operator== (const Packet *packet, PacketShell shell) |
| Identifies if the given shell refers to the given packet.
|
|
bool | regina::operator!= (const Packet *packet, PacketShell shell) |
| Identifies if the given shell does not refer to the given packet.
|
|
Deals with packets of information that form the working data objects.
Copyright © 1999-2025, 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@maths.uq.edu.au).