gatb.core-API-0.0.0
FunctorSetVariant< span > Struct Template Reference

Detailed Description

template<size_t span>
struct gatb::core::debruijn::impl::FunctorSetVariant< span >

These two functions set a specific value to the given GraphDataVariant object, according to the provided kmer size.

This method should be called in each Graph constructor in order to be sure to have its data variant attribute set with the correct type.

Many methods of the Graph class use the boost::static_visitor mechanism in order to retrieve the "correct" type pointed by the boost variant. So it is mandatory that each Graph instance has its data variant correctly set thanks to this "setVariant" function.


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