CBMC
Loading...
Searching...
No Matches
Classes | Public Member Functions | List of all members
cpp_namet Class Reference

#include <cpp_name.h>

+ Inheritance diagram for cpp_namet:
+ Collaboration diagram for cpp_namet:

Classes

class   namet
 

Public Member Functions

  cpp_namet ()
 
  cpp_namet (const irep_idt &base_name)
 
 
 
 
 
 
 
 
 
 
std::string  to_string () const
 
 
 
- Public Member Functions inherited from irept
 
 
 
 
  irept ()=default
 
 
const std::string &  id_string () const
 
void  id (const irep_idt &_data)
 
 
ireptadd (const irep_idt &name)
 
ireptadd (const irep_idt &name, irept irep)
 
const std::string &  get_string (const irep_idt &name) const
 
 
 
 
std::size_t  get_size_t (const irep_idt &name) const
 
 
void  set (const irep_idt &name, const irep_idt &value)
 
void  set (const irep_idt &name, irept irep)
 
void  set (const irep_idt &name, const long long value)
 
void  set_size_t (const irep_idt &name, const std::size_t value)
 
 
 
 
 
 
void  swap (irept &irep)
 
  defines ordering on the internal representation
 
  defines ordering on the internal representation
 
  defines ordering on the internal representation comments are ignored
 
void  clear ()
 
 
subtget_sub ()
 
 
 
 
std::size_t  hash () const
 
std::size_t  full_hash () const
 
 
std::string  pretty (unsigned indent=0, unsigned max_indent=0) const
 
- Public Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
 
 
 
 
 
 
 
 
const dtread () const
 
dtwrite ()
 

Additional Inherited Members

- Public Types inherited from irept
 
 
 
 
  Used to refer to this class from derived classes.
 
- Static Public Member Functions inherited from irept
 
  count the number of named_sub elements that are not comments
 
- Protected Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
void  detach ()
 
- Static Protected Member Functions inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
 
  Does the same as remove_ref, but using an explicit stack instead of recursion.
 
dtdata
 
- Static Protected Attributes inherited from sharing_treet< irept, forward_list_as_mapt< irep_idt, irept > >
 

Detailed Description

Definition at line 16 of file cpp_name.h.

Constructor & Destructor Documentation

◆  cpp_namet() [1/3]

cpp_namet::cpp_namet ( )
inline

Definition at line 57 of file cpp_name.h.

◆  cpp_namet() [2/3]

cpp_namet::cpp_namet ( const irep_idtbase_name )
inlineexplicit

Definition at line 61 of file cpp_name.h.

◆  cpp_namet() [3/3]

cpp_namet::cpp_namet ( const irep_idt_base_name,
const source_locationt_source_location 
)
inline

Definition at line 66 of file cpp_name.h.

Member Function Documentation

◆  as_expr()

const exprt & cpp_namet::as_expr ( ) const
inline

Definition at line 137 of file cpp_name.h.

◆  as_type()

const typet & cpp_namet::as_type ( ) const
inline

Definition at line 142 of file cpp_name.h.

◆  get_base_name()

irep_idt cpp_namet::get_base_name ( ) const

Definition at line 14 of file cpp_name.cpp.

◆  has_template_args()

bool cpp_namet::has_template_args ( ) const
inline

Definition at line 124 of file cpp_name.h.

◆  is_destructor()

bool cpp_namet::is_destructor ( ) const
inline

Definition at line 119 of file cpp_name.h.

◆  is_operator()

bool cpp_namet::is_operator ( ) const
inline

Definition at line 97 of file cpp_name.h.

◆  is_qualified()

bool cpp_namet::is_qualified ( ) const
inline

Definition at line 109 of file cpp_name.h.

◆  is_simple_name()

bool cpp_namet::is_simple_name ( ) const
inline

Definition at line 89 of file cpp_name.h.

◆  is_typename()

bool cpp_namet::is_typename ( ) const
inline

Definition at line 104 of file cpp_name.h.

◆  source_location()

const source_locationt & cpp_namet::source_location ( ) const
inline

Definition at line 73 of file cpp_name.h.

◆  to_string()

std::string cpp_namet::to_string ( ) const

Definition at line 73 of file cpp_name.cpp.


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

AltStyle によって変換されたページ (->オリジナル) /