Program Listing for File events_utils.h

Return to documentation for file (include/cpphots/events_utils.h)

#ifndef CPPHOTS_EVENTS_UTILS_H
#define CPPHOTS_EVENTS_UTILS_H

#include <vector>
#include <cstdint>
#include <string>
#include <unordered_map>
#include <ostream>
#include <limits>

#include "types.h"


namespace cpphots {

Events loadFromFile(const std::string& filename, const std::unordered_map<bool, uint16_t>& change_polarities = {{false, 0}, {true, 1}});


}

#endif