Public Member Functions | Private Attributes
create::Data Class Reference

#include <data.h>

List of all members.

Public Member Functions

 Data (ProtocolVersion version=V_3)
uint8_t getNumPackets () const
boost::shared_ptr< PacketgetPacket (const uint8_t id)
std::vector< uint8_t > getPacketIDs ()
uint32_t getTotalDataBytes () const
bool isValidPacketID (const uint8_t id) const
void validateAll ()
 ~Data ()

Private Attributes

std::vector< uint8_t > ids
std::map< uint8_t,
boost::shared_ptr< Packet > > 
uint32_t totalDataBytes

Detailed Description

Definition at line 44 of file data.h.

Constructor & Destructor Documentation

Definition at line 7 of file data.cpp.

Definition at line 58 of file data.cpp.

Member Function Documentation

uint8_t create::Data::getNumPackets ( ) const

Definition at line 87 of file data.cpp.

boost::shared_ptr< Packet > create::Data::getPacket ( const uint8_t  id)

Definition at line 67 of file data.cpp.

std::vector< uint8_t > create::Data::getPacketIDs ( )

Definition at line 91 of file data.cpp.

unsigned int create::Data::getTotalDataBytes ( ) const

Definition at line 83 of file data.cpp.

bool create::Data::isValidPacketID ( const uint8_t  id) const

Definition at line 60 of file data.cpp.

Definition at line 75 of file data.cpp.

Member Data Documentation

std::vector<uint8_t> create::Data::ids [private]

Definition at line 48 of file data.h.

std::map<uint8_t, boost::shared_ptr<Packet> > create::Data::packets [private]

Definition at line 46 of file data.h.

uint32_t create::Data::totalDataBytes [private]

Definition at line 47 of file data.h.

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

Author(s): Jacob Perron
autogenerated on Sat Nov 26 2016 03:41:46