HepMC3 event record library
CompressedIO.h File Reference

Detailed Description

HepMC3 interface to bxzstr library and some routines.

Definition in file CompressedIO.h.

#include "HepMC3/bxzstr/bxzstr.hpp"
#include <array>
+ Include dependency graph for CompressedIO.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  HepMC3
 HepMC3 main namespace.
 

Typedefs

using ofstream = bxz::ofstream
 ofstream
 
using ostream = bxz::ostream
 ostream
 
using ifstream = bxz::ifstream
 ifstream
 
using istream = bxz::istream
 istream
 
using Compression = bxz::Compression
 Compression types from bxzstr.
 

Functions

Compression detect_compression_type (const char *in_buff_start, const char *in_buff_end)
 Function to detect compression type.
 
std::string to_string (HepMC3::Compression &c)
 Convert from the compression type to string.
 
std::ostream & operator<< (std::ostream &os, HepMC3::Compression &c)
 

Variables

constexpr int num_supported_compression_types = 0
 Number of supported compression types.
 
constexpr std::array< Compression, num_supported_compression_typessupported_compression_types
 Array of supported compression types.
 
constexpr std::array< Compression, 4 > known_compression_types
 Array of known compression types.
 

Function Documentation

◆ operator<<()

std::ostream & operator<< ( std::ostream & os,
HepMC3::Compression & c )
inline

Definition at line 100 of file CompressedIO.h.