Commit graph

12 commits

Author SHA1 Message Date
4397e519bf Added FileTape constuctor that initializes FileTape from vector of uint32_t
Slight rewrite of fill_file_with_empty_cells
Adjusted seek offset in some FileTape operations
Unit tests now work with vector of uint32_t as source of test data
2024-10-26 16:10:14 +03:00
680ec28b57 Added file_name and temp fields to FileTape
Removed explicit keyword before every constructor in FileTape
Added getters for private fields in FileTape
Made Tape's copy construcot marked as delete by default
Implemented custom destrucor for FileTape
Added explicit move and copy constructors to FileTape
Added generate_tmp_file_name method to tape namespace
Removed assets directory from tests - testing data should be provided in the test's cpp file
2024-10-26 04:23:11 +03:00
f3aaa26df8 Chaged FileSettings delays type to std::chrono:milliseconds
Changed file format for a FileTape - added and example in the class comment
Removed prev_line_pos and at_first_line fields from FieldTape
Changed Tape data type from int32_t to uint32_t
Cleand up includes
Implemented FileTape methods
Unit tests are in working state
2024-10-25 06:56:52 +03:00
0e49b35f12 Added delimeter and settings constants to FileTape
Removed unneccesary copy and move constructors
Added constructor for tmp FileTape
Added Catch2 for unit testing
Added example unit tests
2024-10-24 17:48:55 +03:00
cab1b88a77 Restuctured source tree - added bin and tests directories
Disabled warnings as errors
bumped the cmake min version to 3.12 for c++20 support and -j flag
Placed a CMakeLists.txt in each subdirectory of the project
2024-10-24 04:25:45 +03:00
e16a1a6f6e Integrated clang-tidy into cmake
Enabled warnings as errors when building project target
Changed checks for clang-tidy
Changed indentation from 2 spaces to 4 in clang-format
Added pre-commit hook to apply clang-format formatting to the source tree
2024-10-23 14:41:12 +03:00
afbdb87f54 Lower cmake version for compatability 2024-10-23 10:34:22 +03:00
5f9f6d2e92 Added tape namespace to all tape-related declarations
Added tapeutil header and source file for sorting methods
Added FileTapeSettings struct to store delay settings for a file tape
2024-10-22 03:24:13 +03:00
967a208e4a Added default constructor to Tape to fix compilation issues 2024-10-21 11:12:24 +03:00
363778019e Added clang-format and clang-tidy 2024-10-21 11:03:12 +03:00
a80da53d0c Added README 2024-10-19 05:44:57 +03:00
cb3b7ff3d9 Initial commit 2024-10-19 05:36:22 +03:00