ARB
Classes | Macros | Functions | Variables
arb_diff.cxx File Reference
#include "arb_diff.h"
#include "arb_match.h"
#include "arb_string.h"
#include "arb_msg.h"
#include "arb_file.h"
#include <arb_str.h>
#include <arbtools.h>
#include <smartptr.h>
#include <list>
#include <string>
Include dependency graph for arb_diff.cxx:

Go to the source code of this file.

Classes

class  difflineMode
 
class  DiffLines
 

Macros

#define MAX_REGS   13
 
#define BUFSIZE   20000
 

Functions

static void cutEOL (char *s)
 
static bool test_accept_diff_lines (const char *line1, const char *line2, const difflineMode &mode)
 
bool ARB_textfiles_have_difflines (const char *file1, const char *file2, int expected_difflines, TextDiffMode tdmode)
 

Variables

static GB_ERROR static_error = NULp
 

Macro Definition Documentation

#define MAX_REGS   13

Definition at line 29 of file arb_diff.cxx.

#define BUFSIZE   20000

Function Documentation

static void cutEOL ( char s)
static

Definition at line 145 of file arb_diff.cxx.

Referenced by test_accept_diff_lines().

static bool test_accept_diff_lines ( const char line1,
const char line2,
const difflineMode mode 
)
static

Definition at line 150 of file arb_diff.cxx.

References ARB_strdup(), and cutEOL().

Referenced by DiffLines::remove_accepted_lines().

bool ARB_textfiles_have_difflines ( const char file1,
const char file2,
int  expected_difflines,
TextDiffMode  tdmode 
)

Variable Documentation

GB_ERROR static_error = NULp
static

Definition at line 142 of file arb_diff.cxx.