GCC Middle and Back End API Reference
added_line Class Reference

Public Member Functions

 added_line (const char *content, int len)
 
 ~added_line ()
 
const char * get_content () const
 
int get_len () const
 

Private Attributes

char * m_content
 
int m_len
 

Detailed Description

A line added before an edited_line.   

Constructor & Destructor Documentation

◆ added_line()

added_line::added_line ( const char * content,
int len )
inline

◆ ~added_line()

added_line::~added_line ( )
inline

References free(), and m_content.

Member Function Documentation

◆ get_content()

const char * added_line::get_content ( ) const
inline

◆ get_len()

int added_line::get_len ( ) const
inline

References m_len.

Referenced by edited_line::print_diff_lines().

Field Documentation

◆ m_content

char* added_line::m_content
private

Referenced by get_content(), and ~added_line().

◆ m_len

int added_line::m_len
private

Referenced by get_len().


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