Commit Graph

20 Commits

Author SHA1 Message Date
Deukhoofd 31b63d56db
Lots of documentation. 2020-09-22 19:32:40 +02:00
Deukhoofd f158dbf8a2
Throw all exceptions with Arbutils exception. 2020-08-15 14:50:17 +02:00
Deukhoofd f59ec6c957
Follow code style with noexcept, add Const() function to BorrowedPtr to return a const pointer of itself. 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. 2020-05-26 17:21:08 +02:00
Deukhoofd 2e227a2688
Style fixes. 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. 2020-04-25 15:53:17 +02:00
Deukhoofd fbf2e42b8f
Performance improvements for collections. 2020-04-24 17:47:49 +02:00
Deukhoofd 43e612122c
Further fixes for NO_ASSERT builds. 2020-04-22 12:17:47 +02:00
Deukhoofd 479a240c6f
Don't throw compilation error when NO_ASSERT is used. 2020-04-22 12:02:00 +02:00
Deukhoofd 5e3b067452
Make Dictionary function parameters all passed by reference 2020-04-21 13:59:01 +02:00
Deukhoofd 72b545f5e3
Add functionality for Collections to get underlying items. 2020-03-29 18:49:10 +02:00
Deukhoofd 79ab962e2f
Fixed not being to iterate over const collections. 2020-03-22 18:15:13 +01:00
Deukhoofd 7c98d3d4eb
Implements Remove function for Dictionary. 2020-03-22 17:18:53 +01:00
Deukhoofd 1f882b9596
Implements clear functions on Dictionary and List. 2020-03-22 17:14:51 +01:00
Deukhoofd 5e9ffa0d69
Implements List collection type for safe access to vector. 2020-03-22 17:09:25 +01:00
Deukhoofd e6d58723fc
Don't require capacity parameter for Dictionary. 2020-03-22 16:55:07 +01:00
Deukhoofd 3bbb12f485
Add initializer list support for Dictionary. 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. 2020-03-22 16:43:31 +01:00
Deukhoofd 5de26d0866
Implements Dictionary class, a wrapper for the unordered_map, with more safety. 2020-03-22 16:38:48 +01:00