14#ifndef INDEXEDBLOCKTEMPLATE_HPP_
15#define INDEXEDBLOCKTEMPLATE_HPP_
17#include "../SlhaBlock.hpp"
25 template<
class ValueClass,
class IndexedParser >
50 template<
class ValueClass,
class IndexedParser >
53 std::string
const& blockName,
54 ValueClass
const& defaultUnsetValue,
56 std::vector< int >
const& indexDigitsVector ) :
57 SlhaBlock< ValueClass, IndexedParser >( blockName,
60 indexDigitsVector( indexDigitsVector )
62 this->
dataBlocks.getFront().setIndexDigits( indexDigitsVector );
65 template<
class ValueClass,
class IndexedParser >
72 template<
class ValueClass,
class IndexedParser >
76 this->dataBlocks.getBack().setIndexDigits( indexDigitsVector );
virtual ~IndexedBlockTemplate()
IndexedBlockTemplate(std::string const &blockName, ValueClass const &defaultUnsetValue, bool const isVerbose, std::vector< int > const &indexDigitsVector)
virtual void prepareNewDataBlock()
std::vector< int > const indexDigitsVector
ValueClass const defaultUnsetValue
BOL::VectorlikeArray< IndexedParser > dataBlocks