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 | |
const value_type | current_ |
const value_type | target_ |
std::map< value_type, int > | voteMap_ |
Definition at line 32 of file FeeVoteImpl.cpp.
|
private |
Definition at line 35 of file FeeVoteImpl.cpp.
ripple::detail::VotableValue::VotableValue | ( | value_type | current, |
value_type | target | ||
) |
Definition at line 41 of file FeeVoteImpl.cpp.
void ripple::detail::VotableValue::addVote | ( | value_type | vote | ) |
Definition at line 49 of file FeeVoteImpl.cpp.
void ripple::detail::VotableValue::noVote | ( | ) |
Definition at line 55 of file FeeVoteImpl.cpp.
value_type ripple::detail::VotableValue::current | ( | ) | const |
Definition at line 61 of file FeeVoteImpl.cpp.
auto ripple::detail::VotableValue::getVotes | ( | ) | const |
Definition at line 71 of file FeeVoteImpl.cpp.
|
private |
Definition at line 36 of file FeeVoteImpl.cpp.
|
private |
Definition at line 37 of file FeeVoteImpl.cpp.
|
private |
Definition at line 38 of file FeeVoteImpl.cpp.