vg
tools for working with variation graphs
Public Member Functions | Public Attributes | List of all members
vg::IndexRecipe Struct Reference

#include <index_registry.hpp>

Public Member Functions

 IndexRecipe (const vector< const IndexFile * > &inputs, const function< vector< string >(const vector< const IndexFile * > &, const string &, const string &)> &exec)
 
vector< string > execute (const string &prefix, const string &suffix)
 

Public Attributes

vector< const IndexFile * > inputs
 
function< vector< string >const vector< const IndexFile * > &, const string &, const string &)> exec
 

Detailed Description

struct that indicates a method to produce and serialize an index

Constructor & Destructor Documentation

◆ IndexRecipe()

vg::IndexRecipe::IndexRecipe ( const vector< const IndexFile * > &  inputs,
const function< vector< string >(const vector< const IndexFile * > &, const string &, const string &)> &  exec 
)

Member Function Documentation

◆ execute()

vector< string > vg::IndexRecipe::execute ( const string &  prefix,
const string &  suffix 
)

Member Data Documentation

◆ exec

function<vector<string>const vector<const IndexFile*>&,const string&,const string&)> vg::IndexRecipe::exec

◆ inputs

vector<const IndexFile*> vg::IndexRecipe::inputs

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