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

Renderer configuration. More...

#include <fcml_renderer.hpp>

Public Member Functions

 RenderConfig ()
 Creates an empty renderer configuration. More...
 
 RenderConfig (fcml_uint32_t renderFlags)
 Creates a renderer configuration for given renderer flags. More...
 
fcml_uint16_t getPreferedCodePadding () const
 
void setPreferedCodePadding (fcml_uint16_t preferedCodePadding)
 
fcml_uint16_t getPreferedMnemonicPadding () const
 
void setPreferedMnemonicPadding (fcml_uint16_t preferedMnemonicPadding)
 
fcml_uint32_t getRenderFlags () const
 
void setRenderFlags (fcml_uint32_t renderFlags)
 
bool isThrowExceptionOnError () const
 Returns true if exception should be thrown when disassembling fails. More...
 
void setThrowExceptionOnError (bool throwExceptionOnError)
 Sets the way how the error handling is done. More...
 

Detailed Description

Renderer configuration.

It's a counterpart to the fcml_st_render_config structure.

Since
1.1.0

Constructor & Destructor Documentation

◆ RenderConfig() [1/2]

fcml::RenderConfig::RenderConfig ( )
inline

Creates an empty renderer configuration.

Since
1.1.0

◆ RenderConfig() [2/2]

fcml::RenderConfig::RenderConfig ( fcml_uint32_t  renderFlags)
inline

Creates a renderer configuration for given renderer flags.

Parameters
renderFlagsThe renderer flags.
Since
1.1.0

Member Function Documentation

◆ getPreferedCodePadding()

fcml_uint16_t fcml::RenderConfig::getPreferedCodePadding ( ) const
inline
Since
1.1.0

◆ getPreferedMnemonicPadding()

fcml_uint16_t fcml::RenderConfig::getPreferedMnemonicPadding ( ) const
inline
Since
1.1.0

◆ getRenderFlags()

fcml_uint32_t fcml::RenderConfig::getRenderFlags ( ) const
inline
Since
1.1.0

◆ isThrowExceptionOnError()

bool fcml::RenderConfig::isThrowExceptionOnError ( ) const
inline

Returns true if exception should be thrown when disassembling fails.

Returns
True if exception is the preferred way of error handling in case of failure.
Since
1.1.0

◆ setPreferedCodePadding()

void fcml::RenderConfig::setPreferedCodePadding ( fcml_uint16_t  preferedCodePadding)
inline
Since
1.1.0

◆ setPreferedMnemonicPadding()

void fcml::RenderConfig::setPreferedMnemonicPadding ( fcml_uint16_t  preferedMnemonicPadding)
inline
Since
1.1.0

◆ setRenderFlags()

void fcml::RenderConfig::setRenderFlags ( fcml_uint32_t  renderFlags)
inline
Since
1.1.0

◆ setThrowExceptionOnError()

void fcml::RenderConfig::setThrowExceptionOnError ( bool  throwExceptionOnError)
inline

Sets the way how the error handling is done.

Parameters
throwExceptionOnErrorTrue if exception should be thrown in case of failure.
Since
1.1.0

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