Guitar
Classes | Typedefs | Variables
dtl Namespace Reference

Classes

class  ChangePrinter
 
class  CommonPrinter
 
class  Compare
 
class  Diff
 
class  Diff3
 
struct  eleminfo
 
class  Lcs
 
struct  Point
 
class  Printer
 
class  Sequence
 
class  Ses
 
class  Storage
 
struct  uniHunk
 
class  UniHunkPrinter
 

Typedefs

typedef int edit_t
 
typedef struct dtl::eleminfo elemInfo
 
typedef struct dtl::Point P
 
typedef vector< long long > editPath
 
typedef vector< PeditPathCordinates
 

Variables

const string version = "1.20"
 
const edit_t SES_DELETE = -1
 
const edit_t SES_COMMON = 0
 
const edit_t SES_ADD = 1
 
const long long DTL_SEPARATE_SIZE = 3
 
const long long DTL_CONTEXT_SIZE = 3
 
const unsigned long long MAX_CORDINATES_SIZE = 2000000
 

Detailed Description

dtl – Diff Template Library

In short, Diff Template Library is distributed under so called "BSD license",

Copyright (c) 2015 Tatsuhiko Kubo cubic.nosp@m.daiy.nosp@m.a@gma.nosp@m.il.c.nosp@m.om All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.

Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

Neither the name of the authors nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Typedef Documentation

◆ edit_t

typedef int dtl::edit_t

type of edit for SES

◆ editPath

typedef vector< long long > dtl::editPath

◆ editPathCordinates

typedef vector< P > dtl::editPathCordinates

◆ elemInfo

typedef struct dtl::eleminfo dtl::elemInfo

info for Unified Format

◆ P

typedef struct dtl::Point dtl::P

cordinate for registering route

Variable Documentation

◆ DTL_CONTEXT_SIZE

const long long dtl::DTL_CONTEXT_SIZE = 3

◆ DTL_SEPARATE_SIZE

const long long dtl::DTL_SEPARATE_SIZE = 3

◆ MAX_CORDINATES_SIZE

const unsigned long long dtl::MAX_CORDINATES_SIZE = 2000000

limit of cordinate size

◆ SES_ADD

const edit_t dtl::SES_ADD = 1

◆ SES_COMMON

const edit_t dtl::SES_COMMON = 0

◆ SES_DELETE

const edit_t dtl::SES_DELETE = -1

◆ version

const string dtl::version = "1.20"

version string