ZFFramework
 
Loading...
Searching...
No Matches
ZFOutputFormat Class Referenceabstract

see ZFOutputForFormat More...

#include <ZFOutputForFormat.h>

Inheritance diagram for ZFOutputFormat:
ZFInterface ZFLogFormat ZFOutputFormatBasic

Static Public Member Functions

static const ZFClassClassData (void)
 get class info
 
static zfanyT< ZFOutputFormatgetFormat (const ZFCallback &output)
 try access the output format passed to ZFOutputForFormat, return null if not available
 
static ZFOutput getOutput (const ZFCallback &output)
 try access the output passed to ZFOutputForFormat, return null callback if not available
 
- Static Public Member Functions inherited from ZFInterface
static const ZFClassClassData (void)
 get class info
 

Protected Types

typedef ZFInterface zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFOutputFormat zfself
 typedef for self
 
- Protected Types inherited from ZFInterface
typedef _ZFP_ObjI_Base zfsuper
 typedef for super (always ZFInterface for an interface type)
 
typedef ZFInterface zfself
 typedef for self
 

Protected Member Functions

virtual void format (zfstring &ret, ZFOutputFormatStep outputStep, const zfchar *src, zfindex srcLen)=0
 see ZFOutputForFormat
 

Additional Inherited Members

- Public Member Functions inherited from ZFInterface
virtual const ZFClassclassData (void)=0
 get instance's class info
 
virtual ZFObjecttoObject (void)=0
 convert to ZFObject type
 

Detailed Description

Member Function Documentation

◆ format()

virtual void ZFOutputFormat::format ( zfstring & ret,
ZFOutputFormatStep outputStep,
const zfchar * src,
zfindex srcLen )
protectedpure virtual

see ZFOutputForFormat

during output, it's ensured:

  • src is valid
  • srcLen is the src's length

Implemented in ZFLogFormat, and ZFOutputFormatBasic.


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