NIST Biometric Evaluation Framework
Software components for biometric technology evaluations
be_mpi_recordstoreresources.h
Go to the documentation of this file.
1
10#ifndef _BE_MPI_RECORDSTORERESOURCES_H
11#define _BE_MPI_RECORDSTORERESOURCES_H
12
13#include <be_io_recordstore.h>
14#include <be_mpi_resources.h>
15
16namespace BiometricEvaluation {
17 namespace MPI {
29 public:
34 static const std::string INPUTRSPROPERTY;
39 static const std::string CHUNKSIZEPROPERTY;
40
47 static std::vector<std::string> getRequiredProperties();
48
55 static std::vector<std::string>
57
71 const std::string &propertiesFileName);
72
74
75 uint32_t getChunkSize() const;
76
84 bool haveRecordStore() const;
85
91 std::shared_ptr<IO::RecordStore>
93
94 private:
95 uint32_t _chunkSize;
96 std::shared_ptr<IO::RecordStore> _recordStore{};
97 };
98 }
99}
100
101#endif /* _BE_MPI_RECORDSTORERESOURCES_H */
102
A class to represent a set of resources needed by an MPI program using a RecordStore for input.
static const std::string INPUTRSPROPERTY
The property string `‘Input Record Store’'; required.
RecordStoreResources(const std::string &propertiesFileName)
Constructor taking the name of the properties file with the resource names.
bool haveRecordStore() const
Indicator that a record store has been opened.
static std::vector< std::string > getOptionalProperties()
Obtain the list of optional properties.
std::shared_ptr< IO::RecordStore > getRecordStore() const
Return the RecordStore named in the property set.
static std::vector< std::string > getRequiredProperties()
Obtain the required properties as strings.
static const std::string CHUNKSIZEPROPERTY
The property string `‘Chunk Size’'; required.
A class to represent a set of resources needed by an MPI program.
This software was developed at the National Institute of Standards and Technology (NIST) by employees...