INET Framework for OMNeT++/OMNEST
PacketDrillBytes Class Reference

#include <PacketDrillUtils.h>

Inheritance diagram for PacketDrillBytes:

Public Member Functions

 PacketDrillBytes ()
 
 PacketDrillBytes (uint8 byte)
 
void appendByte (uint8 byte)
 
uint32 getListLength () const
 
ByteArraygetByteList ()
 

Private Attributes

ByteArray byteList
 
uint32 listLength
 

Constructor & Destructor Documentation

PacketDrillBytes::PacketDrillBytes ( )
411 {
412  listLength = 0;
413 }
uint32 listLength
Definition: PacketDrillUtils.h:678
PacketDrillBytes::PacketDrillBytes ( uint8  byte)
416 {
417  listLength = 0;
419  byteList.setData(listLength, (0x00FF & byte));
420  listLength++;
421 }
virtual void setData(unsigned int k, char data)
virtual void setDataArraySize(unsigned int size)
uint32 listLength
Definition: PacketDrillUtils.h:678
ByteArray byteList
Definition: PacketDrillUtils.h:674

Member Function Documentation

void PacketDrillBytes::appendByte ( uint8  byte)
424 {
426  byteList.setData(listLength, byte);
427  listLength++;
428 }
virtual void setData(unsigned int k, char data)
virtual void setDataArraySize(unsigned int size)
uint32 listLength
Definition: PacketDrillUtils.h:678
ByteArray byteList
Definition: PacketDrillUtils.h:674
ByteArray* PacketDrillBytes::getByteList ( )
inline

Referenced by PacketDrillSctpParameter::PacketDrillSctpParameter().

674 { return &byteList; };
ByteArray byteList
Definition: PacketDrillUtils.h:674
uint32 PacketDrillBytes::getListLength ( ) const
inline
673 { return listLength; };
uint32 listLength
Definition: PacketDrillUtils.h:678

Member Data Documentation

ByteArray PacketDrillBytes::byteList
private
uint32 PacketDrillBytes::listLength
private

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