NW4F Sys
Loading...
Searching...
No Matches
nw::font::TagProcessorBase< CharType > Class Template Reference

#include <font_TagProcessorBase.h>

Public Types

enum  Operation {
  OPERATION_DEFAULT , OPERATION_NO_CHAR_SPACE , OPERATION_CHAR_SPACE , OPERATION_NEXT_LINE ,
  OPERATION_END_DRAW , NUM_OF_OPERATION
}
typedef PrintContext< CharType > ContextType

Public Member Functions

 TagProcessorBase ()
virtual ~TagProcessorBase ()
virtual Operation Process (u16 code, ContextType *pContext)
virtual Operation CalcRect (ut::Rect *pRect, u16 code, ContextType *pContext)

Private Member Functions

void ProcessLinefeed (ContextType *pContext)
void ProcessTab (ContextType *pContext)

Member Typedef Documentation

◆ ContextType

template<typename CharType>
typedef PrintContext<CharType> nw::font::TagProcessorBase< CharType >::ContextType

Member Enumeration Documentation

◆ Operation

template<typename CharType>
enum nw::font::TagProcessorBase::Operation
Enumerator
OPERATION_DEFAULT 
OPERATION_NO_CHAR_SPACE 
OPERATION_CHAR_SPACE 
OPERATION_NEXT_LINE 
OPERATION_END_DRAW 
NUM_OF_OPERATION 

Constructor & Destructor Documentation

◆ TagProcessorBase()

template<typename CharType>
nw::font::TagProcessorBase< CharType >::TagProcessorBase ( )

◆ ~TagProcessorBase()

template<typename CharType>
virtual nw::font::TagProcessorBase< CharType >::~TagProcessorBase ( )
virtual

Member Function Documentation

◆ Process()

template<typename CharType>
virtual Operation nw::font::TagProcessorBase< CharType >::Process ( u16 code,
ContextType * pContext )
virtual

◆ CalcRect()

template<typename CharType>
virtual Operation nw::font::TagProcessorBase< CharType >::CalcRect ( ut::Rect * pRect,
u16 code,
ContextType * pContext )
virtual

◆ ProcessLinefeed()

template<typename CharType>
void nw::font::TagProcessorBase< CharType >::ProcessLinefeed ( ContextType * pContext)
private

◆ ProcessTab()

template<typename CharType>
void nw::font::TagProcessorBase< CharType >::ProcessTab ( ContextType * pContext)
private