kpilot

Pilot::dlp< long > Struct Template Reference

#include <pilot.h>

List of all members.


Public Types

enum  { size = 4 }

Static Public Member Functions

static void append (pi_buffer_t *b, int v)
static int read (const unsigned char *b, unsigned int &offset)
static int read (const pi_buffer_t *b, unsigned int &offset)

Detailed Description

template<>
struct Pilot::dlp< long >

Definition at line 335 of file pilot.h.


Member Enumeration Documentation

anonymous enum

Enumerator:
size 

Definition at line 337 of file pilot.h.


Member Function Documentation

static void Pilot::dlp< long >::append ( pi_buffer_t *  b,
int  v 
) [inline, static]

Definition at line 339 of file pilot.h.

static int Pilot::dlp< long >::read ( const unsigned char *  b,
unsigned int &  offset 
) [inline, static]

Overload to read a long value from a data buffer; does no bounds checking.

Definition at line 368 of file pilot.h.

static int Pilot::dlp< long >::read ( const pi_buffer_t *  b,
unsigned int &  offset 
) [inline, static]

Returns the next long (4 byte) value from the buffer or -1 on error (which is also a valid value).

Definition at line 350 of file pilot.h.


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