libabigail
Loading...
Searching...
No Matches
edit_script Class Reference

The abstraction of an edit script for transforming a sequence A into a sequence B. More...

#include <abg-diff-utils.h>

Public Member Functions

void append (const edit_script &es)
 
void clear ()
 
vector< deletion > & deletions ()
 
const vector< deletion > & deletions () const
 
vector< insertion > & insertions ()
 
const vector< insertion > & insertions () const
 
bool is_empty () const
 
int length () const
 
int num_deletions () const
 
int num_insertions () const
 
 operator bool () const
 
void prepend (const edit_script &es)
 

Detailed Description

The abstraction of an edit script for transforming a sequence A into a sequence B.

It encapsulates the insertions and deletions for transforming A into B.

Definition at line 625 of file abg-diff-utils.h.

Constructor & Destructor Documentation

◆ edit_script()

edit_script ( )
inline

Definition at line 632 of file abg-diff-utils.h.

Member Function Documentation

◆ append()

void append ( const edit_script & es)
inline

Definition at line 652 of file abg-diff-utils.h.

◆ clear()

void clear ( )
inline

Definition at line 674 of file abg-diff-utils.h.

◆ deletions() [1/2]

vector< deletion > & deletions ( )
inline

Definition at line 648 of file abg-diff-utils.h.

◆ deletions() [2/2]

const vector< deletion > & deletions ( ) const
inline

Definition at line 644 of file abg-diff-utils.h.

◆ insertions() [1/2]

vector< insertion > & insertions ( )
inline

Definition at line 640 of file abg-diff-utils.h.

◆ insertions() [2/2]

const vector< insertion > & insertions ( ) const
inline

Definition at line 636 of file abg-diff-utils.h.

◆ is_empty()

bool is_empty ( ) const
inline

Definition at line 681 of file abg-diff-utils.h.

◆ length()

int length ( ) const
inline

Definition at line 703 of file abg-diff-utils.h.

◆ num_deletions()

int num_deletions ( ) const
inline

Definition at line 699 of file abg-diff-utils.h.

◆ num_insertions()

int num_insertions ( ) const
inline

Definition at line 688 of file abg-diff-utils.h.

◆ operator bool()

operator bool ( ) const
inline

Definition at line 684 of file abg-diff-utils.h.

◆ prepend()

void prepend ( const edit_script & es)
inline

Definition at line 663 of file abg-diff-utils.h.


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