Refactor STAmount:

* Remove unused functions
* Remove unused constructor
* Use delegating constructors
* Mark some observers deprecated
* Clean up declaration parameter names
* Add checked and unchecked constructors
* De-inline unnecessary inlined functions
* Reorder and regroup members into sections
* Move globals from the unity file to the .cpp
* Change some member functions to be free functions
* Put implementation in one .cpp and the test in another .cpp

Remove unused STAmount constructor and delegate two others No change in functionality.
This commit is contained in:
Vinnie Falco
2014-09-14 19:00:54 -07:00
parent 8fb9d5daaa
commit 0f30191d10
31 changed files with 2149 additions and 2091 deletions

View File

@@ -2598,7 +2598,7 @@
</ClCompile>
<ClInclude Include="..\..\src\ripple\module\data\protocol\STAmount.h">
</ClInclude>
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmountRound.cpp">
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmount.test.cpp">
<ExcludedFromBuild>True</ExcludedFromBuild>
</ClCompile>
<ClCompile Include="..\..\src\ripple\module\data\protocol\STArray.cpp">

View File

@@ -3738,7 +3738,7 @@
<ClInclude Include="..\..\src\ripple\module\data\protocol\STAmount.h">
<Filter>ripple\module\data\protocol</Filter>
</ClInclude>
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmountRound.cpp">
<ClCompile Include="..\..\src\ripple\module\data\protocol\STAmount.test.cpp">
<Filter>ripple\module\data\protocol</Filter>
</ClCompile>
<ClCompile Include="..\..\src\ripple\module\data\protocol\STArray.cpp">