calculator/src/CalcManager
Scott Freeman 6366e0c535 Replacing CalculatorVector usage with std::vector (#756)
* Replacing CalculatorVector usage with std::vector

Assumptions made here are that memory allocations
are not recoverable.  If it can be proved that an index
will be in range, then the indexing operation is used.
If not (without manual checks) the std::vector::at function
is used to throw an exception in case of a programmer bug.

* Changes based on PR feedback

Using auto& in CalculatorCollector::UpdateHistoryExpression
so the token.first value is properly updated.

Using range for loop to GenerateExpressions.

Setting isEditable directly to the result of boolean expression.

Using token.second directly instead of creating a
separate tokenCommandIndex variable.

* Fixing issue with generating expressions strings.

A space should not be added before the first item.
2019-10-30 10:55:13 -07:00
..
CEngine Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
Header Files Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
Ratpack fix 505 (#710) 2019-10-13 09:56:19 -07:00
CalcManager.vcxproj Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalcManager.vcxproj.filters Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalculatorHistory.cpp Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalculatorHistory.h Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalculatorManager.cpp Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalculatorManager.h Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
CalculatorResource.h Fix the project code style, as it is not consistent. (#236) 2019-05-02 11:59:19 -07:00
CMakeLists.txt Add CMake project, GCC support (#540) 2019-06-06 14:08:31 -07:00
Command.h Update Calc Engine for new functions needed for keyboard refresh (#662) 2019-09-30 14:04:20 -07:00
ExpressionCommand.cpp Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
ExpressionCommand.h Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
ExpressionCommandInterface.h Replacing CalculatorVector usage with std::vector (#756) 2019-10-30 10:55:13 -07:00
NumberFormattingUtils.cpp Unit Converter - Calculate the rounding precision of results based on the source (#498) 2019-07-16 17:00:57 -07:00
NumberFormattingUtils.h Unit Converter - Calculate the rounding precision of results based on the source (#498) 2019-07-16 17:00:57 -07:00
pch.cpp Compile CalcManager project with or without precompiled headers (#436) 2019-04-17 17:28:45 -07:00
pch.h Update Calc Engine for new functions needed for keyboard refresh (#662) 2019-09-30 14:04:20 -07:00
sal_cross_platform.h Add CMake project, GCC support (#540) 2019-06-06 14:08:31 -07:00
UnitConverter.cpp Restore user preferences (#456) 2019-07-29 09:39:19 -07:00
UnitConverter.h Unit Converter - Calculate the rounding precision of results based on the source (#498) 2019-07-16 17:00:57 -07:00
winerror_cross_platform.h Add CMake project, GCC support (#540) 2019-06-06 14:08:31 -07:00