ROSE  0.9.6a
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SqlDatabase::AddrRenderer Struct Reference

Renders a rose_addr_t as a hexadecimal string. More...

#include <SqlDatabase.h>

Inheritance diagram for SqlDatabase::AddrRenderer:
Collaboration diagram for SqlDatabase::AddrRenderer:

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 Member Functions inherited from SqlDatabase::Renderer< uint64_t >
virtual ~Renderer ()
 

Public Attributes

size_t nbits
 

Detailed Description

Renders a rose_addr_t as a hexadecimal string.

Definition at line 531 of file SqlDatabase.h.

Constructor & Destructor Documentation

SqlDatabase::AddrRenderer::AddrRenderer ( size_t  nbits = 32)
inlineexplicit

Definition at line 533 of file SqlDatabase.h.

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 534 of file SqlDatabase.h.

References StringUtility::addrToString().

Member Data Documentation

size_t SqlDatabase::AddrRenderer::nbits

Definition at line 532 of file SqlDatabase.h.


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