Structural Bioinformatics Library
Template C++ / Python API for developping structural bioinformatics applications.
T_Index_wrapper< IndexType, PrintedIndexType > Class Template Reference

Wrapper for indices where the IO dumping may be different from the index itself. More...

#include <Index_wrapper.hpp>

Constructors

 T_Index_wrapper (void)
 
 T_Index_wrapper (const Self &other)
 
 T_Index_wrapper (const Index_type &index)
 
Selfoperator= (const Index_type &index)
 

Accessors

const Index_type & index (void) const
 
Index_type & index (void)
 
Printed_index_type printed_index (void) const
 
static Index_type to_index (const Printed_index_type &i)
 
static Printed_index_type to_printed_index (const Index_type &i)
 
static bool & is_starting_at_1 (void)
 

I/O

template<class Archive >
void save (Archive &ar, const unsigned BOOST_PFTO int version) const
 
template<class Archive >
void load (Archive &ar, const unsigned BOOST_PFTO int version)
 

Detailed Description

template<class IndexType = std::size_t, class PrintedIndexType = std::size_t>
class SBL::IO::T_Index_wrapper< IndexType, PrintedIndexType >

Wrapper for indices where the IO dumping may be different from the index itself.

Wrapper for indices where the IO dumping may be different from the index itself

Template Parameters
IndexTypetype of the index (long unsigned by default).
PrintedIndexTypetype of the printed index (long unsigned by default).