dtl::Diff3< elem, sequence > Class Template Reference
#include <dtl.hpp>
List of all members.
|
Public Member Functions |
| Diff3 (sequence &a, sequence &b, sequence &c) |
| ~Diff3 () |
bool | isConflict () const |
void | setConflictSeparators (elem begin, elem sepa1, elem sepa2, elem end) |
sequence | getMergedSequence () |
bool | merge () |
void | compose () |
Private Types |
typedef std::pair< elem, elemInfo > | sesElem |
typedef std::vector< sesElem > | sesElemVec |
typedef std::vector< elem > | elemVec |
Private Member Functions |
sequence | merge_ () |
void | forwardUntilEnd (sesElemVec &v, typename sesElemVec::iterator &it) const |
void | setEndFlag (sesElemVec &v, typename sesElemVec::iterator &it, bool &b) const |
void | addDecentSequence (sesElemVec &v, typename sesElemVec::iterator &it, elemVec &seq) const |
Private Attributes |
sequence | A |
sequence | B |
sequence | C |
sequence | S |
Diff< elem, sequence > | diff_ba |
Diff< elem, sequence > | diff_bc |
bool | conflict |
elem | csepabegin |
elem | csepa1 |
elem | csepa2 |
elem | csepaend |
Detailed Description
template<typename elem, typename sequence>
class dtl::Diff3< elem, sequence >
diff3 template sequence must support random_access_iterator.
Definition at line 755 of file dtl.hpp.
Member Typedef Documentation
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
Constructor & Destructor Documentation
template<typename elem , typename sequence >
dtl::Diff3< elem, sequence >::Diff3 |
( |
sequence & |
a, |
|
|
sequence & |
b, |
|
|
sequence & |
c | |
|
) |
| | [inline] |
template<typename elem , typename sequence >
Member Function Documentation
template<typename elem , typename sequence >
void dtl::Diff3< elem, sequence >::addDecentSequence |
( |
sesElemVec & |
v, |
|
|
typename sesElemVec::iterator & |
it, |
|
|
elemVec & |
seq | |
|
) |
| | const [inline, private] |
template<typename elem , typename sequence >
void dtl::Diff3< elem, sequence >::compose |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
void dtl::Diff3< elem, sequence >::forwardUntilEnd |
( |
sesElemVec & |
v, |
|
|
typename sesElemVec::iterator & |
it | |
|
) |
| | const [inline, private] |
template<typename elem , typename sequence >
sequence dtl::Diff3< elem, sequence >::getMergedSequence |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
bool dtl::Diff3< elem, sequence >::isConflict |
( |
|
) |
const [inline] |
template<typename elem , typename sequence >
bool dtl::Diff3< elem, sequence >::merge |
( |
|
) |
[inline] |
template<typename elem , typename sequence >
sequence dtl::Diff3< elem, sequence >::merge_ |
( |
|
) |
[inline, private] |
template<typename elem , typename sequence >
void dtl::Diff3< elem, sequence >::setConflictSeparators |
( |
elem |
begin, |
|
|
elem |
sepa1, |
|
|
elem |
sepa2, |
|
|
elem |
end | |
|
) |
| | [inline] |
template<typename elem , typename sequence >
void dtl::Diff3< elem, sequence >::setEndFlag |
( |
sesElemVec & |
v, |
|
|
typename sesElemVec::iterator & |
it, |
|
|
bool & |
b | |
|
) |
| | const [inline, private] |
Member Data Documentation
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
template<typename elem , typename sequence >
The documentation for this class was generated from the following file: