19#ifndef MS_PROCESSOROPTIONS_HPP
20#define MS_PROCESSOROPTIONS_HPP
27namespace matrix_science {
59 std::string getName()
const;
62 void setName(
const char * str);
65 int getNumberOfThreads()
const;
71 int getThreadProcessorID(
const int threadIndex)
const;
74 void appendThreadProcessorID(
const int proccessorID);
77 std::vector<int> threads_;
79 std::string getStringValue()
const;
123 void defaultValues();
133 bool isSectionAvailable()
const;
136 void setSectionAvailable(
const bool value);
139 int getNumberOfProcessors()
const;
142 void clearProcessors();
145 int getProcessor(
const int index)
const;
148 void appendProcessor(
const int processorID);
151 int getNumberOfDatabases()
const;
157 void clearDatabases();
162#ifdef SUPPRESS_MS_CUSTOMPROPERTY_INHERITANCE
163#include "suppress_ms_customproperty.hpp"
167 bool sectionAvailable_;
168 std::vector<int> processors_;
169 std::vector<ms_dbprocessors*> dbs_;
The class is used as a base for property-containing classes, such as ms_mascotoptions.
Definition: ms_customproperty.hpp:91
Encapsulates the mascot.dat file that contains the most important parameters.
Definition: ms_datfile.hpp:47
Represent a single dabatase entry in the Processors section.
Definition: ms_processoroptions.hpp:35
An instance of this class represents all the parameters specified in the Processors section of mascot...
Definition: ms_processoroptions.hpp:109