vg
tools for working with variation graphs
Classes | Namespaces
protobuf_iterator.hpp File Reference
#include <cassert>
#include <iostream>
#include <istream>
#include <fstream>
#include <functional>
#include <vector>
#include <google/protobuf/io/coded_stream.h>
#include <google/protobuf/io/zero_copy_stream_impl_lite.h>
#include <google/protobuf/message.h>
#include "message_iterator.hpp"
#include "registry.hpp"

Classes

class  vg::io::ProtobufIterator< T >
 

Namespaces

 vg
 
 vg::io
 

Detailed Description

Defines a cursor for reading Protobuf messages from files.

TODO: This implementation copies messages. Go back to/find a way to do zero-copy stream parsing directly.