ROSE  0.11.54.0
Public Member Functions | Public Attributes | List of all members
SqlDatabase::AddrRenderer Struct Reference

Description

Renders a rose_addr_t as a hexadecimal string.

Definition at line 570 of file SqlDatabase.h.

#include <SqlDatabase.h>

Inheritance diagram for SqlDatabase::AddrRenderer:
Inheritance graph
[legend]
Collaboration diagram for SqlDatabase::AddrRenderer:
Collaboration graph
[legend]

Public Member Functions

 AddrRenderer (size_t nbits=32)
 
virtual std::string operator() (const uint64_t &value, size_t width) const
 Renders a column value as a string. More...
 

Public Attributes

size_t nbits
 

Member Function Documentation

virtual std::string SqlDatabase::AddrRenderer::operator() ( const uint64_t &  value,
size_t  width 
) const
inlinevirtual

Renders a column value as a string.

The width is zero when this functor is called while Table::print() is trying to determine the maximum width of a value.

Reimplemented from SqlDatabase::Renderer< uint64_t >.

Definition at line 573 of file SqlDatabase.h.

References Rose::StringUtility::addrToString().


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