kpilot/lib

Pilot::dlp< short > Struct Template Reference

List of all members.

Detailed Description

template<>
struct Pilot::dlp< short >

Definition at line 294 of file pilot.h.


Public Types

enum  { size = 2 }

Static Public Member Functions

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

Member Function Documentation

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

Overload to read from a data buffer instead of a real pi_buffer; does no bounds checking.

Definition at line 327 of file pilot.h.

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

Returns the next short (2 byte) value from the buffer, or -1 on error (which is also a valid return value).

Definition at line 309 of file pilot.h.


The documentation for this struct was generated from the following file:
KDE Home | KDE Accessibility Home | Description of Access Keys