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

Base class for a template parameter. Client code should use the more specialized type_template_parameter, non_type_template_parameter and template_template_parameter below. More...

#include <abg-ir.h>

Inheritance diagram for template_parameter:
[legend]

Public Member Functions

 template_parameter (unsigned index, template_decl_sptr enclosing_tdecl)
 
virtual ~template_parameter ()
 Destructor. More...
 
const template_decl_sptr get_enclosing_template_decl () const
 
unsigned get_index () const
 
bool operator!= (const template_parameter &) const
 Inequality operator. More...
 
virtual bool operator== (const template_parameter &) const
 

Detailed Description

Base class for a template parameter. Client code should use the more specialized type_template_parameter, non_type_template_parameter and template_template_parameter below.

Definition at line 3598 of file abg-ir.h.

Constructor & Destructor Documentation

◆ template_parameter()

template_parameter ( unsigned  index,
template_decl_sptr  enclosing_tdecl 
)

Definition at line 27448 of file abg-ir.cc.

◆ ~template_parameter()

~template_parameter ( )
virtual

Destructor.

Definition at line 27503 of file abg-ir.cc.

Member Function Documentation

◆ get_enclosing_template_decl()

const template_decl_sptr get_enclosing_template_decl ( ) const

Definition at line 27458 of file abg-ir.cc.

◆ get_index()

unsigned get_index ( ) const

Definition at line 27454 of file abg-ir.cc.

◆ operator!=()

bool operator!= ( const template_parameter other) const

Inequality operator.

Parameters
otherthe other instance to compare against.
Returns
true iff the other instance is different from the current one.

Definition at line 27499 of file abg-ir.cc.

◆ operator==()

bool operator== ( const template_parameter o) const
virtual

Reimplemented in type_tparameter, and template_tparameter.

Definition at line 27463 of file abg-ir.cc.


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