Commit Graph

39 Commits

Author SHA1 Message Date
Deukhoofd 51c7ba1c50
Use a precompiled header for many std includes.
continuous-integration/drone/push Build is passing Details
2020-09-25 11:06:55 +02:00
Deukhoofd 31b63d56db
Lots of documentation.
continuous-integration/drone/push Build is passing Details
2020-09-22 19:32:40 +02:00
Deukhoofd fedb27790e
Fixed checks for less than 0 on List indexing, as it was always false.
continuous-integration/drone/push Build is passing Details
2020-08-20 13:27:39 +02:00
Deukhoofd 5eb95805f6
Further Windows fixes.
continuous-integration/drone/push Build is passing Details
2020-08-18 19:15:00 +02:00
Deukhoofd f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +02:00
Deukhoofd 08952c86d0
Support for passing parameters to list to construct item in list.
continuous-integration/drone/push Build is passing Details
2020-08-09 10:47:41 +02:00
Deukhoofd f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself.
continuous-integration/drone/push Build is passing Details
2020-06-20 17:45:41 +02:00
Deukhoofd c8ca951dd8
Reduce namespace length further 2020-05-26 17:36:39 +02:00
Deukhoofd 3dc96de34b
Change namespace name so it's a lot less verbose.
continuous-integration/drone/push Build is passing Details
2020-05-26 17:21:08 +02:00
Deukhoofd 2e227a2688
Style fixes.
continuous-integration/drone/push Build is passing Details
2020-04-28 16:55:00 +02:00
Deukhoofd 50f430b7be
Use map::at() function for Dictionary::Get, as it already throws an exception if it doesn't exist.
continuous-integration/drone/push Build is passing Details
2020-04-25 15:53:17 +02:00
Deukhoofd fea040252d
Fixed type issue in List.
continuous-integration/drone/push Build is passing Details
2020-04-24 19:13:55 +02:00
Deukhoofd 846a9380a7
Make List constructor with capacity reserve the space, instead of creating the vector with a set size.
continuous-integration/drone/push Build is passing Details
2020-04-24 18:48:23 +02:00
Deukhoofd 409b52bbf7
Support for reserving space in List.
continuous-integration/drone/push Build is passing Details
2020-04-24 18:47:17 +02:00
Deukhoofd fbf2e42b8f
Performance improvements for collections.
continuous-integration/drone/push Build is passing Details
2020-04-24 17:47:49 +02:00
Deukhoofd 0777561a21
Removed unsensible explicit in list constructor
continuous-integration/drone/push Build is passing Details
2020-04-22 13:26:39 +02:00
Deukhoofd e34f60a8ac
Return previous value from Set function.
continuous-integration/drone/push Build is passing Details
2020-04-22 13:22:20 +02:00
Deukhoofd 8306c14163
Add Set function to List. 2020-04-22 13:21:06 +02:00
Deukhoofd 43e612122c
Further fixes for NO_ASSERT builds.
continuous-integration/drone/push Build is passing Details
2020-04-22 12:17:47 +02:00
Deukhoofd 479a240c6f
Don't throw compilation error when NO_ASSERT is used.
continuous-integration/drone/push Build is passing Details
2020-04-22 12:02:00 +02:00
Deukhoofd 5e3b067452
Make Dictionary function parameters all passed by reference
continuous-integration/drone/push Build is passing Details
2020-04-21 13:59:01 +02:00
Deukhoofd 72b545f5e3
Add functionality for Collections to get underlying items.
continuous-integration/drone/push Build is passing Details
2020-03-29 18:49:10 +02:00
Deukhoofd 7524c2d61c
Added IndexOf support for List.
continuous-integration/drone/push Build is passing Details
2020-03-24 22:56:40 +01:00
Deukhoofd 0b6220b2bf
Add Remove function to List, to remove items at a given index.
continuous-integration/drone/push Build is passing Details
2020-03-22 19:08:38 +01:00
Deukhoofd 97bd13a1cb
Fixed not being able to assign to bool list.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:44:50 +01:00
Deukhoofd cc86041b06
Switch At functions around.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:34:05 +01:00
Deukhoofd 196bf5e1da
Assert index is not negative for List.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:21:29 +01:00
Deukhoofd 79ab962e2f
Fixed not being to iterate over const collections.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:15:13 +01:00
Deukhoofd c1167e704a
Implements Resize function for List.
continuous-integration/drone/push Build is passing Details
2020-03-22 18:01:39 +01:00
Deukhoofd 0f07837558
Implements List constructor for raw C arrays.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:50:17 +01:00
Deukhoofd b47757d343
Make List Count function const.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:35:57 +01:00
Deukhoofd ba586bf262
Support for getting C array data from List.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:32:31 +01:00
Deukhoofd 7c98d3d4eb
Implements Remove function for Dictionary.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:18:53 +01:00
Deukhoofd 1f882b9596
Implements clear functions on Dictionary and List.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:14:51 +01:00
Deukhoofd 5e9ffa0d69
Implements List collection type for safe access to vector.
continuous-integration/drone/push Build is passing Details
2020-03-22 17:09:25 +01:00
Deukhoofd e6d58723fc
Don't require capacity parameter for Dictionary.
continuous-integration/drone/push Build is passing Details
2020-03-22 16:55:07 +01:00
Deukhoofd 3bbb12f485
Add initializer list support for Dictionary.
continuous-integration/drone/push Build is passing Details
2020-03-22 16:53:42 +01:00
Deukhoofd e4c203027b
Make NO_ASSERT disable a lot of Dictionary safety in exchange for a bit more speed.
continuous-integration/drone/push Build is passing Details
2020-03-22 16:43:31 +01:00
Deukhoofd 5de26d0866
Implements Dictionary class, a wrapper for the unordered_map, with more safety.
continuous-integration/drone/push Build is passing Details
2020-03-22 16:38:48 +01:00