Fairport  v1.0.38
fairport::attachment_transform Class Reference

Defines a transform from a row to an attachment object. More...

#include <message.h>

+ Inheritance diagram for fairport::attachment_transform:
+ Collaboration diagram for fairport::attachment_transform:

List of all members.

Public Member Functions

 attachment_transform (const node &n)
 Construct the transform object.
attachment operator() (const const_table_row &row) const
 Perform the transform.

Detailed Description

Defines a transform from a row to an attachment object.

Used by the boost iterator library to provide iterators over attachment objects

Definition at line 131 of file message.h.


Constructor & Destructor Documentation

fairport::attachment_transform::attachment_transform ( const node n) [inline, explicit]

Construct the transform object.

Parameters:
[in]nThe node backing the message which has these attachments

Definition at line 136 of file message.h.


Member Function Documentation

attachment fairport::attachment_transform::operator() ( const const_table_row row) const [inline]

Perform the transform.

Parameters:
[in]rowA row from the messages attachment table
Returns:
An attachment object

Definition at line 142 of file message.h.


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