fastcgi++
Public Member Functions | Public Attributes
Fastcgipp::Block Struct Reference

A raw block of memory. More...

#include <transceiver.hpp>

List of all members.

Public Member Functions

 Block (char *data_, size_t size_)
 Construct from a pointer and size.
 Block (const Block &block)
 Copies pointer and size, not data.
const Blockoperator= (const Block &block)
 Copies pointer and size, not data.

Public Attributes

char * data
 Pointer to start of memory location.
size_t size
 Size in bytes of memory location.

Detailed Description

A raw block of memory.

The purpose of this structure is to communicate a block of data to be written to a Transceiver::Buffer

Definition at line 56 of file transceiver.hpp.


Constructor & Destructor Documentation

Fastcgipp::Block::Block ( char *  data_,
size_t  size_ 
) [inline]

Construct from a pointer and size.

Parameters:
[in]data_Pointer to start of memory location
[in]size_Size in bytes of memory location

Definition at line 63 of file transceiver.hpp.

Fastcgipp::Block::Block ( const Block block) [inline]

Copies pointer and size, not data.

Definition at line 65 of file transceiver.hpp.


Member Function Documentation

const Block& Fastcgipp::Block::operator= ( const Block block) [inline]

Copies pointer and size, not data.

Definition at line 67 of file transceiver.hpp.

References data, and size.


Member Data Documentation

Size in bytes of memory location.

Definition at line 71 of file transceiver.hpp.

Referenced by operator=().


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