Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
CBC_CodeBase Class Referenceabstract

#include <cbc_codebase.h>

+ Inheritance diagram for CBC_CodeBase:
+ Collaboration diagram for CBC_CodeBase:

Public Member Functions

 CBC_CodeBase (std::unique_ptr< CBC_Writer > pWriter)
 
virtual ~CBC_CodeBase ()
 
virtual BC_TYPE GetType ()=0
 
virtual bool Encode (WideStringView contents)=0
 
virtual bool RenderDevice (CFX_RenderDevice *device, const CFX_Matrix &matrix)=0
 
void SetTextLocation (BC_TEXT_LOC location)
 
bool SetWideNarrowRatio (int8_t ratio)
 
bool SetStartChar (char start)
 
bool SetEndChar (char end)
 
bool SetErrorCorrectionLevel (int32_t level)
 
void SetCharEncoding (BC_CHAR_ENCODING encoding)
 
bool SetModuleHeight (int32_t moduleHeight)
 
bool SetModuleWidth (int32_t moduleWidth)
 
void SetHeight (int32_t height)
 
void SetWidth (int32_t width)
 

Protected Attributes

std::unique_ptr< CBC_Writerm_pBCWriter
 

Detailed Description

Definition at line 22 of file cbc_codebase.h.

Constructor & Destructor Documentation

◆ CBC_CodeBase()

CBC_CodeBase::CBC_CodeBase ( std::unique_ptr< CBC_Writer > pWriter)
explicit

Definition at line 28 of file cbc_codebase.cpp.

References CBC_CodeBase().

Referenced by CBC_CodeBase().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ~CBC_CodeBase()

CBC_CodeBase::~CBC_CodeBase ( )
virtualdefault

Member Function Documentation

◆ Encode()

virtual bool CBC_CodeBase::Encode ( WideStringView contents)
pure virtual

◆ GetType()

virtual BC_TYPE CBC_CodeBase::GetType ( )
pure virtual

◆ RenderDevice()

virtual bool CBC_CodeBase::RenderDevice ( CFX_RenderDevice * device,
const CFX_Matrix & matrix )
pure virtual

◆ SetCharEncoding()

void CBC_CodeBase::SetCharEncoding ( BC_CHAR_ENCODING encoding)

Definition at line 53 of file cbc_codebase.cpp.

◆ SetEndChar()

bool CBC_CodeBase::SetEndChar ( char end)

Definition at line 45 of file cbc_codebase.cpp.

◆ SetErrorCorrectionLevel()

bool CBC_CodeBase::SetErrorCorrectionLevel ( int32_t level)

Definition at line 49 of file cbc_codebase.cpp.

◆ SetHeight()

void CBC_CodeBase::SetHeight ( int32_t height)

Definition at line 65 of file cbc_codebase.cpp.

◆ SetModuleHeight()

bool CBC_CodeBase::SetModuleHeight ( int32_t moduleHeight)

Definition at line 57 of file cbc_codebase.cpp.

◆ SetModuleWidth()

bool CBC_CodeBase::SetModuleWidth ( int32_t moduleWidth)

Definition at line 61 of file cbc_codebase.cpp.

◆ SetStartChar()

bool CBC_CodeBase::SetStartChar ( char start)

Definition at line 41 of file cbc_codebase.cpp.

◆ SetTextLocation()

void CBC_CodeBase::SetTextLocation ( BC_TEXT_LOC location)

Definition at line 33 of file cbc_codebase.cpp.

◆ SetWideNarrowRatio()

bool CBC_CodeBase::SetWideNarrowRatio ( int8_t ratio)

Definition at line 37 of file cbc_codebase.cpp.

◆ SetWidth()

void CBC_CodeBase::SetWidth ( int32_t width)

Definition at line 69 of file cbc_codebase.cpp.

Member Data Documentation

◆ m_pBCWriter

std::unique_ptr<CBC_Writer> CBC_CodeBase::m_pBCWriter
protected

Definition at line 44 of file cbc_codebase.h.


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