-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add templated get/set functionality for GenericParameters and depreca…
…te non-templated versions (#262) * Add templated access functionality to GenericParameters Makes it easier to add new supported data types if ever necessary. Additionally, gives this a more generic API that should make future usage in the Frame easier. These changes include a bunch of type helpers which now live in their own header, which could also be useful in the future (or until we make real use of concepts) * Add documentation * Move all usage of detail::GetVectorType into one place * Mark non-templated access functionality as deprecated * clang-tidy: Fix accidental copy in range-based for loop * clang-tidy: Use auto to avoid duplicating typename * Unify getValue interface / implementation and add a few tests * clang-tidy: Silence overzealous warning in tests * Remove no longer necessary code * Add test cases for resetting values * Reserve necessary capacity up front
- Loading branch information
Showing
7 changed files
with
403 additions
and
146 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.