yast2-core
Public Member Functions | Private Attributes | Friends

TableEntry Class Reference

#include <SymbolTable.h>

List of all members.

Public Member Functions

size_t mem_size () const
 TableEntry (const char *key, SymbolEntryPtr entry, const Point *point, SymbolTable *table=0)
 TableEntry (bytecodeistream &str)
 ~TableEntry ()
const char * key () const
TableEntry * next () const
TableEntry * next_overloaded () const
bool isOverloaded () const
const SymbolTable * table () const
SymbolEntryPtr sentry () const
const Point * point () const
string toString () const
string toStringSymbols () const
void makeDefinition (int line)
std::ostream & toStream (std::ostream &str) const
std::ostream & toXml (std::ostream &str, int indent) const
void remove ()

Private Attributes

TableEntry * m_prev
TableEntry * m_next
TableEntry * m_overloaded_prev
TableEntry * m_overloaded_next
TableEntry * m_outer
const char * m_key
SymbolEntryPtr m_entry
const Point * m_point
SymbolTable * m_table

Friends

class SymbolTable

Constructor & Destructor Documentation

TableEntry::TableEntry ( const char *  key,
SymbolEntryPtr  entry,
const Point *  point,
SymbolTable *  table = 0 
)

Referenced by mem_size().

TableEntry::TableEntry ( bytecodeistream &  str)
TableEntry::~TableEntry ( )

References m_point.


Member Function Documentation

bool TableEntry::isOverloaded ( ) const
const char * TableEntry::key ( ) const
void TableEntry::makeDefinition ( int  line)
size_t TableEntry::mem_size ( ) const [inline]

References TableEntry().

TableEntry * TableEntry::next ( ) const

References m_next.

TableEntry * TableEntry::next_overloaded ( ) const
const Point * TableEntry::point ( void  ) const

References m_point.

Referenced by makeDefinition().

void TableEntry::remove ( )

References m_table, and SymbolTable::remove().

SymbolEntryPtr TableEntry::sentry ( void  ) const
const SymbolTable * TableEntry::table ( ) const

References m_table.

Referenced by StaticDeclaration::findDeclaration().

std::ostream & TableEntry::toStream ( std::ostream &  str) const
string TableEntry::toString ( void  ) const
string TableEntry::toStringSymbols ( ) const
std::ostream & TableEntry::toXml ( std::ostream &  str,
int  indent 
) const

Friends And Related Function Documentation

friend class SymbolTable [friend]

Member Data Documentation

SymbolEntryPtr TableEntry::m_entry [private]
const char* TableEntry::m_key [private]

Referenced by SymbolTable::enter(), and isOverloaded().

const Point* TableEntry::m_point [private]

Referenced by SymbolTable::enter(), remove(), and table().


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

Generated on a sunny day for yast2-core by doxygen 1.7.3