Go to file
2021-06-28 00:21:40 +02:00
protocol_buffers_definitions Implements loading of proto files 2021-06-17 20:14:50 +02:00
recordings initial commit 2021-06-17 18:26:32 +02:00
src Adds unit tests 2021-06-28 00:08:40 +02:00
tests Adds unit tests 2021-06-28 00:08:40 +02:00
.gitignore Implements loading of proto files 2021-06-17 20:14:50 +02:00
assignment.pdf initial commit 2021-06-17 18:26:32 +02:00
build.sh Adds install and build bash-script 2021-06-28 00:09:59 +02:00
CMakeLists.txt Adds unit tests 2021-06-28 00:08:40 +02:00
install_deps.sh Adds install and build bash-script 2021-06-28 00:09:59 +02:00
README.md Updates readme 2021-06-28 00:21:40 +02:00

ESRI C++ code assignment

Requirements

The requirements specification is provided in assignment.pdf.

Design remarks

For sake of simplicity most of validation and error handling is performed during loading the input files.

Setup

Execute the bash script install_deps.sh on a Debian GNU/Linux system to install the required dependencies.

The protobuf dependencies are installed as Debian packages. All other dependencies are installed using the CMake FetchContent feature.

Build

Execute the bash script build.sh to perform both build and testing steps.

The overall process is implemented using CMake. The application artifact is located at build/src/main.

Usage

The command-line parameters can be passed as follows:

main <input-file[s]> <json-ouput-file>
  • At least one input-file and json-ouptut-file must be provided.
  • Multiple input-files are supported.