ome-files  0.5.0
Public Member Functions | Private Attributes | List of all members
ome::files::TileBuffer Class Reference

Tile pixel data buffer. More...

#include <ome/files/TileBuffer.h>

Public Member Functions

 TileBuffer (dimension_size_type size)
 Constructor. More...
 
virtual ~TileBuffer ()
 Destructor.
 
SKIP dimension_size_type size () const
 Get the buffer size. More...
 
uint8_t * data ()
 Get the buffer data. More...
 
const uint8_t * data () const
 Get the buffer data. More...
 

Private Attributes

dimension_size_type bufsize
 Buffer size (bytes).
 
uint8_t * buf
 Raw buffer.
 

Detailed Description

Tile pixel data buffer.

Pixel data for a single tile.

Constructor & Destructor Documentation

◆ TileBuffer()

ome::files::TileBuffer::TileBuffer ( dimension_size_type  size)
explicit

Constructor.

Parameters
sizethe buffer size (bytes).

References buf.

Member Function Documentation

◆ data() [1/2]

uint8_t * ome::files::TileBuffer::data ( )

Get the buffer data.

Returns
a pointer to the data.

References buf.

◆ data() [2/2]

const uint8_t * ome::files::TileBuffer::data ( ) const

Get the buffer data.

Returns
a pointer to the data.

References buf.

◆ size()

dimension_size_type ome::files::TileBuffer::size ( ) const

Get the buffer size.

Returns
the buffer size.

References bufsize.


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