|
cppfig 0.1.0
Modern C++20 compile-time type-safe configuration library
|
Result of comparing two configurations. More...
#include <diff.h>
Public Member Functions | |
| auto | HasDifferences () const -> bool |
| Checks if there are any differences. | |
| auto | Size () const -> std::size_t |
| Returns the number of differences. | |
| auto | Filter (DiffType type) const -> std::vector< DiffEntry > |
| Filters entries by type. | |
| auto | Added () const -> std::vector< DiffEntry > |
| Returns entries that were added. | |
| auto | Removed () const -> std::vector< DiffEntry > |
| Returns entries that were removed. | |
| auto | Modified () const -> std::vector< DiffEntry > |
| Returns entries that were modified. | |
| auto | ToString () const -> std::string |
| Converts the diff to a human-readable string. | |
Public Attributes | |
| std::vector< DiffEntry > | entries |
Result of comparing two configurations.
|
inline |
Returns entries that were added.
Filters entries by type.
|
inline |
Checks if there are any differences.
|
inline |
Returns entries that were modified.
|
inline |
Returns entries that were removed.
|
inline |
Returns the number of differences.
|
inline |
Converts the diff to a human-readable string.
| std::vector<DiffEntry> cppfig::ConfigDiff::entries |