libabigail
Public Member Functions | List of all members
insertion Class Reference

The abstration of an insertion of elements of a sequence B into a sequence A. This is used to represent the edit script for transforming a sequence A into a sequence B. More...

#include <abg-diff-utils.h>

Public Member Functions

 insertion (int insertion_point, const vector< unsigned > &inserted_indexes)
 
 insertion (int insertion_point=0)
 
vector< unsigned > & inserted_indexes ()
 
const vector< unsigned > & inserted_indexes () const
 
int insertion_point_index () const
 
void insertion_point_index (int i)
 

Detailed Description

The abstration of an insertion of elements of a sequence B into a sequence A. This is used to represent the edit script for transforming a sequence A into a sequence B.

And insertion mainly encapsulates two components:

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

Constructor & Destructor Documentation

◆ insertion() [1/2]

insertion ( int  insertion_point,
const vector< unsigned > &  inserted_indexes 
)
inline

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

◆ insertion() [2/2]

insertion ( int  insertion_point = 0)
inline

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

Member Function Documentation

◆ inserted_indexes() [1/2]

vector< unsigned > & inserted_indexes ( )
inline

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

◆ inserted_indexes() [2/2]

const vector< unsigned > & inserted_indexes ( ) const
inline

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

◆ insertion_point_index() [1/2]

int insertion_point_index ( ) const
inline

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

◆ insertion_point_index() [2/2]

void insertion_point_index ( int  i)
inline

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


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