dtl::Ses< elem > Class Template Reference

#include <dtl.hpp>

Inheritance diagram for dtl::Ses< elem >:

dtl::Sequence< elem >

List of all members.

Public Member Functions

 Ses ()
 ~Ses ()
bool isOnlyAdd () const
bool isOnlyDelete () const
bool isOnlyCopy () const
bool isOnlyOneOperation () const
bool isChange () const
void addSequence (elem e, int beforeIdx, int afterIdx, editType type)
sesElemVec getSequence () const

Private Types

typedef std::pair< elem, elemInfosesElem
typedef std::vector< sesElemsesElemVec

Private Attributes

sesElemVec sequence
bool onlyAdd
bool onlyDelete
bool onlyCopy


Detailed Description

template<typename elem>
class dtl::Ses< elem >

Shortest Edit Script template calss

Definition at line 188 of file dtl.hpp.


Member Typedef Documentation

template<typename elem >
typedef std::pair<elem, elemInfo> dtl::Ses< elem >::sesElem [private]

Definition at line 191 of file dtl.hpp.

template<typename elem >
typedef std::vector< sesElem > dtl::Ses< elem >::sesElemVec [private]

Definition at line 192 of file dtl.hpp.


Constructor & Destructor Documentation

template<typename elem >
dtl::Ses< elem >::Ses (  )  [inline]

Definition at line 195 of file dtl.hpp.

template<typename elem >
dtl::Ses< elem >::~Ses (  )  [inline]

Definition at line 196 of file dtl.hpp.


Member Function Documentation

template<typename elem >
void dtl::Ses< elem >::addSequence ( elem  e,
int  beforeIdx,
int  afterIdx,
editType  type 
) [inline]

Definition at line 219 of file dtl.hpp.

template<typename elem >
sesElemVec dtl::Ses< elem >::getSequence (  )  const [inline]

Reimplemented from dtl::Sequence< elem >.

Definition at line 242 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::isChange (  )  const [inline]

Definition at line 214 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::isOnlyAdd (  )  const [inline]

Definition at line 198 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::isOnlyCopy (  )  const [inline]

Definition at line 206 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::isOnlyDelete (  )  const [inline]

Definition at line 202 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::isOnlyOneOperation (  )  const [inline]

Definition at line 210 of file dtl.hpp.


Member Data Documentation

template<typename elem >
bool dtl::Ses< elem >::onlyAdd [private]

Definition at line 247 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::onlyCopy [private]

Definition at line 249 of file dtl.hpp.

template<typename elem >
bool dtl::Ses< elem >::onlyDelete [private]

Definition at line 248 of file dtl.hpp.

template<typename elem >
sesElemVec dtl::Ses< elem >::sequence [private]

Reimplemented from dtl::Sequence< elem >.

Definition at line 246 of file dtl.hpp.


The documentation for this class was generated from the following file:


 
©2009 Positive Technologies
 
Generated on Tue Jul 14 18:27:32 2009 for WebEngine by 
 
 
1.5.7
 
Get wpcObj at SourceForge.net. Fast, secure and Free Open Source software downloads