20 #ifndef RIPPLE_RESOURCE_CHARGE_H_INCLUDED
21 #define RIPPLE_RESOURCE_CHARGE_H_INCLUDED
bool operator==(Charge const &) const
int value_type
The type used to hold a consumption charge.
std::string to_string() const
Converts this charge into a human readable string.
bool operator!=(Charge const &) const
std::ostream & operator<<(std::ostream &os, Charge const &v)
value_type cost() const
Return the cost of the charge in Resource::Manager units.
Use hash_* containers for keys that do not need a cryptographically secure hashing algorithm.
std::string const & label() const
Return the human readable label associated with the charge.