Synergy Color Management Component - SDK -  2018.0.80
SYNCOLOR::TransformCache::Writer Class Referenceabstract

Cache content wrinting callback class. More...

Public Member Functions

virtual ~Writer ()
 Destructor. More...
 
virtual void write (const void *content, unsigned size)=0
 Write the specified cache content. May be called multiple times. More...
 

Detailed Description

Cache content wrinting callback class.

This callback class is required by SYNCOLOR::TransformCache::serializeTransformCache. The write() method stores the cache information to a destination. It is called multiple times.

Constructor & Destructor Documentation

virtual SYNCOLOR::TransformCache::Writer::~Writer ( )
virtual

Destructor.

Member Function Documentation

virtual void SYNCOLOR::TransformCache::Writer::write ( const void *  content,
unsigned  size 
)
pure virtual

Write the specified cache content. May be called multiple times.

Note
The cache content is not guaranteed to have ASCII characters only.
Parameters
contentOpaque cache content to be written.
sizeOpaque content size.