COFFI
1.2
               
symbol_provider Class Referenceabstract

Interface for accessing to the symbol table. More...

+ Inheritance diagram for symbol_provider:

Public Member Functions

virtual const symbolget_symbol (uint32_t index) const =0
 Gets a symbol from its index.
 
virtual symbolget_symbol (uint32_t index)=0
 Gets a symbol from its index.
 
virtual const symbolget_symbol (const std::string &name) const =0
 Gets a symbol from its name.
 
virtual symbolget_symbol (const std::string &name)=0
 Gets a symbol from its name.
 
virtual symboladd_symbol (const std::string &name)=0
 Adds a symbol in the table. More...
 

Detailed Description

Interface for accessing to the symbol table.

Definition at line 1041 of file coffi_types.hpp.

Member Function Documentation

◆ add_symbol()

virtual symbol* add_symbol ( const std::string &  name)
pure virtual

Adds a symbol in the table.

Eventually creates an entry in the strings table for the symbol name.

Implemented in coffi_symbols.


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