OpendTect-6_4  6.4
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Network::PacketFiller Class Reference

Public Member Functions

 PacketFiller (RequestPacket &p, int startpos=0)
 
template<class T >
const PacketFillerput (const T &) const
 
template<class T >
const PacketFillerput (const T *, int nrelems, bool rawmode=false) const
 
const PacketFillerput (const char *) const
 
const PacketFillerput (bool) const
 
const PacketFillerput (const OD::String &) const
 
const PacketFillerput (const BufferStringSet &) const
 
const PacketFillerputBytes (const void *, int nrbytes) const
 

Static Public Member Functions

template<class T >
static int sizeFor (const T &)
 
template<class T >
static int sizeFor (const T *, int nrelems, bool rawmode=false)
 
static int sizeFor (bool)
 
static int sizeFor (const char *)
 
static int sizeFor (const OD::String &)
 
static int sizeFor (const BufferStringSet &)
 

Protected Attributes

RequestPacketpkt_
 
int curpos_
 

Detailed Description

Constructor & Destructor Documentation

Network::PacketFiller::PacketFiller ( RequestPacket p,
int  startpos = 0 
)
inline

Member Function Documentation

template<class T >
const PacketFiller & Network::PacketFiller::put ( const T &  var) const
inline
template<class T >
const PacketFiller & Network::PacketFiller::put ( const T *  arr,
int  nrelems,
bool  rawmode = false 
) const
inline
const PacketFiller & Network::PacketFiller::put ( const char *  str) const
inline
const PacketFiller & Network::PacketFiller::put ( bool  var) const
inline
const PacketFiller & Network::PacketFiller::put ( const OD::String str) const
inline
const PacketFiller & Network::PacketFiller::put ( const BufferStringSet bss) const
inline
const PacketFiller & Network::PacketFiller::putBytes ( const void *  ptr,
int  nrbytes 
) const
inline
template<class T >
int Network::PacketFiller::sizeFor ( const T &  var)
inlinestatic
template<class T >
int Network::PacketFiller::sizeFor ( const T *  arr,
int  nrelems,
bool  rawmode = false 
)
inlinestatic
int Network::PacketFiller::sizeFor ( bool  var)
inlinestatic
int Network::PacketFiller::sizeFor ( const char *  str)
inlinestatic
int Network::PacketFiller::sizeFor ( const OD::String str)
inlinestatic
int Network::PacketFiller::sizeFor ( const BufferStringSet bss)
inlinestatic

Member Data Documentation

int Network::PacketFiller::curpos_
mutableprotected
RequestPacket& Network::PacketFiller::pkt_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019