|
rippled
|

Public Member Functions | |
| VotableValue (value_type current, value_type target) | |
| void | addVote (value_type vote) |
| void | noVote () |
| value_type | current () const |
| std::pair< value_type, bool > | getVotes () const |
Private Types | |
| using | value_type = XRPAmount |
Private Attributes | |
| value_type const | current_ |
| value_type const | target_ |
| std::map< value_type, int > | voteMap_ |
Definition at line 12 of file FeeVoteImpl.cpp.
|
private |
Definition at line 15 of file FeeVoteImpl.cpp.
| ripple::detail::VotableValue::VotableValue | ( | value_type | current, |
| value_type | target | ||
| ) |
Definition at line 21 of file FeeVoteImpl.cpp.
| void ripple::detail::VotableValue::addVote | ( | value_type | vote | ) |
Definition at line 29 of file FeeVoteImpl.cpp.
| void ripple::detail::VotableValue::noVote | ( | ) |
Definition at line 35 of file FeeVoteImpl.cpp.
| value_type ripple::detail::VotableValue::current | ( | ) | const |
Definition at line 41 of file FeeVoteImpl.cpp.
| auto ripple::detail::VotableValue::getVotes | ( | ) | const |
Definition at line 51 of file FeeVoteImpl.cpp.
|
private |
Definition at line 16 of file FeeVoteImpl.cpp.
|
private |
Definition at line 17 of file FeeVoteImpl.cpp.
|
private |
Definition at line 18 of file FeeVoteImpl.cpp.