HDFReader::HDFReader |
( |
std::string |
file | ) |
|
Constructor
- Parameters
-
file | The filename of the file to read |
int HDFReader::GetNumberOfProtobufFiles |
( |
| ) |
|
Gets the total number of protobuf files in the file
- Returns
- The number of protobuf files
std::string HDFReader::GetProtobufFilesDescription |
( |
| ) |
|
Gets the (protobuf) description attribute of the protobuf files.
- Returns
- The string with the protobuf description.
std::vector< std::vector< int64_t > > HDFReader::ReadAllProtobufFiles |
( |
| ) |
|
Gets the vector with all protobuf files
- Returns
- The vector with the protobuf files
int HDFReader::ReadFile |
( |
| ) |
|
Reads the given hdf5 file and fills the image ids and description string information.
- Returns
- 0 if everything went good; 0 if it failed
std::vector< int64_t > HDFReader::ReadOneProtobufFile |
( |
unsigned int |
index | ) |
|
Reads one protobuf file at the given index.
- Parameters
-
index | The index of the protobuf to be read. If it does not exist, the first protobuf file is read |
- Returns
- The vector with protobuf file
The documentation for this class was generated from the following files:
- src/StreamDecoder/hdf_reader.h
- src/StreamDecoder/hdf_reader.cpp