SwapFrame Class Reference
[Frame utilities]

#include <swapframe.hh>

List of all members.

Public Member Functions

 SwapFrame (void)
 Constructor.
 ~SwapFrame (void)
 Destructor.
void Swap (char *p, int len)
 Swap the frame.


Detailed Description

The SwapFrame class performs a byte-swap of all data in a frame stored in memory.
Attention:
Note that it is unlikely that this class works on frames later than frame spec V4. This class should be rewritten using the FrameF class.
Author:
John Zweizig
Version:
1.1; Last major modification February 12, 2002

Constructor & Destructor Documentation

SwapFrame::SwapFrame ( void   ) 

Constructor.

Construct a frame swapper. Determine the hardware byte ordering at run-time.

SwapFrame::~SwapFrame ( void   ) 

Destructor.

Destroy a frame swapper.


Member Function Documentation

void SwapFrame::Swap ( char *  p,
int  len 
)

Swap the frame.

Swap the frame contents.

Parameters:
p Pointer to an in-memory frame.
len Length of in-memory frame.


The documentation for this class was generated from the following file:
Generated on Sun Mar 8 19:21:13 2009 for dmt by  doxygen 1.5.4