Protected Member Functions | Protected Attributes

xdrbuf::PackletHeader Class Reference
[XDR Buffer APIs]

A PackletHeader describes a given packlet (what sort of data it is, and how much data is there). More...

#include <xdrbuf.h>

Inheritance diagram for xdrbuf::PackletHeader:
Inheritance graph
[legend]

List of all members.

Public Member Functions

char getName (void) const throw ()
 return the (single-character) name for this packlet
ePackletType getType (void) const throw ()
 return the datatype contained in this packlet
int getDataCount (void) const throw ()
 return count (count, not size!) , based on packlet type

  • String: returns length of string (NOT counting null-terminator)
  • Floats: returns count of floats
  • Int32s: returns count of longs

Protected Member Functions

 PackletHeader (void) throw ()
void setData (IN word_t d)

Protected Attributes

word_t m_data

Detailed Description

A PackletHeader describes a given packlet (what sort of data it is, and how much data is there).

Definition at line 119 of file xdrbuf.h.


Member Function Documentation

char xdrbuf::PackletHeader::getName ( void   )  const throw ()

return the (single-character) name for this packlet

Definition at line 704 of file xdrbuf.cpp.


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