GNU Octave  8.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
symbol_record::symbol_record_rep Class Reference
Collaboration diagram for symbol_record::symbol_record_rep:

Public Member Functions

 symbol_record_rep (const std::string &nm, symrec_t sc)
 
 symbol_record_rep (const symbol_record_rep &)=default
 
 ~symbol_record_rep (void)=default
 
std::size_t data_offset (void) const
 
octave_value dump (void) const
 
std::shared_ptr< symbol_record_repdup (void) const
 
std::size_t frame_offset (void) const
 
bool is_added_static (void) const
 
bool is_formal (void) const
 
bool is_local (void) const
 
bool is_valid (void) const
 
bool is_variable (void) const
 
void mark_added_static (void)
 
void mark_as_variable (void)
 
void mark_formal (void)
 
void mark_local (void)
 
std::string name (void) const
 
symbol_record_repoperator= (const symbol_record_rep &)=default
 
void rename (const std::string &new_name)
 
void set_data_offset (std::size_t offset)
 
void set_frame_offset (std::size_t offset)
 
unsigned int storage_class (void) const
 
void unmark_added_static (void)
 
void unmark_as_variable (void)
 
void unmark_formal (void)
 
void unmark_local (void)
 

Private Attributes

std::size_t m_data_offset
 
std::size_t m_frame_offset
 
std::string m_name
 
symrec_t m_storage_class
 

Detailed Description

Definition at line 66 of file symrec.h.

Constructor & Destructor Documentation

◆ symbol_record_rep() [1/2]

symbol_record::symbol_record_rep::symbol_record_rep ( const std::string &  nm,
symrec_t  sc 
)
inline

Definition at line 70 of file symrec.h.

◆ symbol_record_rep() [2/2]

symbol_record::symbol_record_rep::symbol_record_rep ( const symbol_record_rep )
default

◆ ~symbol_record_rep()

symbol_record::symbol_record_rep::~symbol_record_rep ( void  )
default

Member Function Documentation

◆ data_offset()

std::size_t symbol_record::symbol_record_rep::data_offset ( void  ) const
inline

Definition at line 90 of file symrec.h.

References m_data_offset.

◆ dump()

octave_value symbol_record::symbol_record_rep::dump ( void  ) const

Definition at line 51 of file symrec.cc.

References symbol_record::is_formal(), symbol_record::is_local(), m, and octave_value().

◆ dup()

std::shared_ptr< symbol_record::symbol_record_rep > symbol_record::symbol_record_rep::dup ( void  ) const

Definition at line 45 of file symrec.cc.

◆ frame_offset()

std::size_t symbol_record::symbol_record_rep::frame_offset ( void  ) const
inline

Definition at line 86 of file symrec.h.

References m_frame_offset.

◆ is_added_static()

bool symbol_record::symbol_record_rep::is_added_static ( void  ) const
inline

Definition at line 102 of file symrec.h.

References symbol_record::ADDED_STATIC, and m_storage_class.

◆ is_formal()

bool symbol_record::symbol_record_rep::is_formal ( void  ) const
inline

Definition at line 97 of file symrec.h.

References symbol_record::FORMAL, and m_storage_class.

◆ is_local()

bool symbol_record::symbol_record_rep::is_local ( void  ) const
inline

Definition at line 92 of file symrec.h.

References symbol_record::LOCAL, and m_storage_class.

◆ is_valid()

bool symbol_record::symbol_record_rep::is_valid ( void  ) const
inline

Definition at line 82 of file symrec.h.

References m_name.

◆ is_variable()

bool symbol_record::symbol_record_rep::is_variable ( void  ) const
inline

Definition at line 107 of file symrec.h.

References m_storage_class, and symbol_record::VARIABLE.

◆ mark_added_static()

void symbol_record::symbol_record_rep::mark_added_static ( void  )
inline

Definition at line 124 of file symrec.h.

References symbol_record::ADDED_STATIC, and m_storage_class.

◆ mark_as_variable()

void symbol_record::symbol_record_rep::mark_as_variable ( void  )
inline

Definition at line 130 of file symrec.h.

References m_storage_class, and symbol_record::VARIABLE.

◆ mark_formal()

void symbol_record::symbol_record_rep::mark_formal ( void  )
inline

Definition at line 117 of file symrec.h.

References symbol_record::FORMAL, m_storage_class, and symbol_record::VARIABLE.

◆ mark_local()

void symbol_record::symbol_record_rep::mark_local ( void  )
inline

Definition at line 112 of file symrec.h.

References symbol_record::LOCAL, and m_storage_class.

◆ name()

std::string symbol_record::symbol_record_rep::name ( void  ) const
inline

Definition at line 162 of file symrec.h.

References m_name.

◆ operator=()

symbol_record_rep& symbol_record::symbol_record_rep::operator= ( const symbol_record_rep )
default

◆ rename()

void symbol_record::symbol_record_rep::rename ( const std::string &  new_name)
inline

Definition at line 164 of file symrec.h.

References m_name.

◆ set_data_offset()

void symbol_record::symbol_record_rep::set_data_offset ( std::size_t  offset)
inline

Definition at line 88 of file symrec.h.

References m_data_offset.

◆ set_frame_offset()

void symbol_record::symbol_record_rep::set_frame_offset ( std::size_t  offset)
inline

Definition at line 84 of file symrec.h.

References m_frame_offset.

◆ storage_class()

unsigned int symbol_record::symbol_record_rep::storage_class ( void  ) const
inline

Definition at line 156 of file symrec.h.

References m_storage_class.

◆ unmark_added_static()

void symbol_record::symbol_record_rep::unmark_added_static ( void  )
inline

Definition at line 145 of file symrec.h.

References symbol_record::ADDED_STATIC, and m_storage_class.

◆ unmark_as_variable()

void symbol_record::symbol_record_rep::unmark_as_variable ( void  )
inline

Definition at line 151 of file symrec.h.

References m_storage_class, and symbol_record::VARIABLE.

◆ unmark_formal()

void symbol_record::symbol_record_rep::unmark_formal ( void  )
inline

Definition at line 140 of file symrec.h.

References symbol_record::FORMAL, and m_storage_class.

◆ unmark_local()

void symbol_record::symbol_record_rep::unmark_local ( void  )
inline

Definition at line 135 of file symrec.h.

References symbol_record::LOCAL, and m_storage_class.

Member Data Documentation

◆ m_data_offset

std::size_t symbol_record::symbol_record_rep::m_data_offset
private

Definition at line 169 of file symrec.h.

Referenced by data_offset(), and set_data_offset().

◆ m_frame_offset

std::size_t symbol_record::symbol_record_rep::m_frame_offset
private

Definition at line 168 of file symrec.h.

Referenced by frame_offset(), and set_frame_offset().

◆ m_name

std::string symbol_record::symbol_record_rep::m_name
private

Definition at line 173 of file symrec.h.

Referenced by is_valid(), name(), and rename().

◆ m_storage_class


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