Skip to content
Snippets Groups Projects
SubConfig.hpp 650 B
Newer Older
  • Learn to ignore specific revisions
  • #ifndef SUBCONFIG__H
    #define SUBCONFIG__H
    
    #include "Config.hpp"
    #include "BaseConfig.hpp"
    
    class SubConfig : public Config
    {
      private :
    
    
      static constexpr std::size_t spanSize = 800;
    
      std::size_t firstLineIndex{0};
    
      SubConfig(BaseConfig & model);
      bool update();
    
      std::size_t getNbColumns() const override;
      std::size_t getColIndex(const std::string & colName) const override;
    
      bool hasColIndex(const std::string & colName) const override;
    
      const std::string & getColName(int colIndex) const override;
      std::size_t getFirstLineIndex() const override;
    };
    
    #endif