template<typename elem, typename sequence = vector< elem >, typename comparator = Compare< elem >>
class dtl::Diff3< elem, sequence, comparator >
diff3 class template sequence must support random_access_iterator.
Definition at line 48 of file Diff3.hpp.
template<typename elem , typename sequence = vector< elem >, typename comparator = Compare< elem >>
void dtl::Diff3< elem, sequence, comparator >::addDecentSequence |
( |
const sesElemVec_iter & |
end, |
|
|
sesElemVec_iter & |
it, |
|
|
elemVec & |
seq |
|
) |
| const |
|
inlineprivate |
template<typename elem , typename sequence = vector< elem >, typename comparator = Compare< elem >>
template<typename T_iter >
void dtl::Diff3< elem, sequence, comparator >::forwardUntilEnd |
( |
const T_iter & |
end, |
|
|
T_iter & |
it |
|
) |
| const |
|
inlineprivate |
template<typename elem , typename sequence = vector< elem >, typename comparator = Compare< elem >>
template<typename T_iter >
bool dtl::Diff3< elem, sequence, comparator >::isEnd |
( |
const T_iter & |
end, |
|
|
const T_iter & |
it |
|
) |
| const |
|
inlineprivate |
template<typename elem , typename sequence = vector< elem >, typename comparator = Compare< elem >>
bool dtl::Diff3< elem, sequence, comparator >::merge |
( |
| ) |
|
|
inline |
merge changes B and C into A
Definition at line 83 of file Diff3.hpp.
References dtl::Diff3< elem, sequence, comparator >::B, dtl::Diff3< elem, sequence, comparator >::C, dtl::Diff3< elem, sequence, comparator >::diff_ba, dtl::Diff3< elem, sequence, comparator >::diff_bc, dtl::Diff3< elem, sequence, comparator >::isConflict(), dtl::Diff3< elem, sequence, comparator >::merge_(), and dtl::Diff3< elem, sequence, comparator >::S.
template<typename elem , typename sequence = vector< elem >, typename comparator = Compare< elem >>
sequence dtl::Diff3< elem, sequence, comparator >::merge_ |
( |
| ) |
|
|
inlineprivate |
merge implementation
Definition at line 117 of file Diff3.hpp.
References dtl::Diff3< elem, sequence, comparator >::addDecentSequence(), dtl::Diff3< elem, sequence, comparator >::B, dtl::Diff3< elem, sequence, comparator >::conflict, dtl::Diff3< elem, sequence, comparator >::diff_ba, dtl::Diff3< elem, sequence, comparator >::diff_bc, dtl::Diff3< elem, sequence, comparator >::forwardUntilEnd(), dtl::Ses< elem >::getSequence(), dtl::Diff3< elem, sequence, comparator >::isEnd(), dtl::SES_ADD, dtl::SES_COMMON, and dtl::SES_DELETE.
Referenced by dtl::Diff3< elem, sequence, comparator >::merge().