Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions src/sdk/main/include/FeeComponents.h
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,13 @@ class FeeComponents
* @return The price for data retrieved from disk.
*/
[[nodiscard]] inline int64_t getResponseDiskByte() const { return mResponseDiskByte; }

/**
* Compare two FeeComponents instances and determine if they represent an equivalent set of fees.
*
* @param rhs The right-hand side FeeComponents to compare.
* @return \c TRUE if this FeeComponents and \p rhs represent equivalent fee component values, otherwise \c FALSE.
*/
[[nodiscard]] bool operator==(const FeeComponents& rhs) const;

private:
Expand Down Expand Up @@ -325,13 +332,6 @@ class FeeComponents
* The price of bandwidth for data retrieved from disk for a response, measured in bytes.
*/
int64_t mResponseDiskByte = 0LL;

/**
* Compare two FeeComponents instances and determine if they represent an equivalent set of fees.
*
* @param rhs The right-hand side FeeComponents to compare.
* @return \c TRUE if this FeeComponents and \p rhs represent equivalent fee component values, otherwise \c FALSE.
*/
};

} // namespace Hiero
Expand Down