Panda3D

Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
IoPtaDatagramShort Class Reference

This class is used to read and write a PTA_ushort from a Datagram, in support of Bam. More...

`#include "ioPtaDatagramShort.h"`

## Static Public Member Functions
static PTA_ushort | read_datagram (BamReader *manager, DatagramIterator &source)
static void | write_datagram (BamWriter *manager, Datagram &dest, CPTA_ushort array)

## Detailed Description

This class is used to read and write a PTA_ushort from a Datagram, in support of Bam.

It's not intended to be constructed; it's just a convenient place to scope these static methods which should be called directly.

Definition at line 33 of file ioPtaDatagramShort.h.

## Member Function Documentation

## ◆ read_datagram()

PTA_ushort IoPtaDatagramShort::read_datagram | ( | BamReader * | manager,
|  | DatagramIterator & | source )
| static

Definition at line 34 of file ioPtaDatagramShort.cxx.

## ◆ write_datagram()

void IoPtaDatagramShort::write_datagram | ( | BamWriter * | manager,
|  | Datagram & | dest,
|  | CPTA_ushort | array )
| static

Definition at line 23 of file ioPtaDatagramShort.cxx.

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

- panda/src/putil/ioPtaDatagramShort.h
- panda/src/putil/ioPtaDatagramShort.cxx