fcml  1.2.2
Public Member Functions | List of all members
fcml::Renderer Class Reference

Renderer wrapper. More...

#include <fcml_renderer.hpp>

Inheritance diagram for fcml::Renderer:
Inheritance graph
[legend]
Collaboration diagram for fcml::Renderer:
Collaboration graph
[legend]

Public Member Functions

 Renderer (Dialect &dialect)
 Creates a renderer instance for the given dialect. More...
 
fcml_ceh_error render (const RenderConfig &renderConfig, DisassemblerResult &assemblerResult, fcml_cstring &result)
 Renders a disassembled instruction. More...
 

Additional Inherited Members

- Protected Member Functions inherited from fcml::DialectAware
 DialectAware ()
 Default constructor. More...
 
virtual ~DialectAware ()
 Virtual destructor. More...
 
fcml_st_dialectextractDialect (const Dialect &dialect) const
 Extracts the native FCML dialect from the dialect object. More...
 

Detailed Description

Renderer wrapper.

Since
1.1.0

Constructor & Destructor Documentation

◆ Renderer()

fcml::Renderer::Renderer ( Dialect dialect)
inline

Creates a renderer instance for the given dialect.

Parameters
dialectThe dialect instance.
Since
1.1.0

Member Function Documentation

◆ render()

fcml_ceh_error fcml::Renderer::render ( const RenderConfig renderConfig,
DisassemblerResult assemblerResult,
fcml_cstring result 
)
inline

Renders a disassembled instruction.

Parameters
renderConfigA renderer configuration.
assemblerResultThe disassembler result.
[out]resultThe rendered instruction.
Exceptions
RenderingFailedExceptionRendering failed.
Returns
The error code.

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