OpendTect  7.0
Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
Network::PacketFiller Class Reference

Public Member Functions

 PacketFiller (RequestPacket &, int startpos=0)
 
 ~PacketFiller ()
 
template<class T >
const PacketFillerput (const ArrayND< T > &, bool rawmode=false) const
 
template<>
const PacketFillerput (const bool &var) const
 
template<>
const PacketFillerput (const BufferString &str) const
 
template<>
const PacketFillerput (const BufferStringSet &bss) const
 
const PacketFillerput (const char *) const
 
template<>
const PacketFillerput (const OD::String &str) const
 
template<>
const PacketFillerput (const StringView &str) const
 
template<class T >
const PacketFillerput (const T &) const
 
template<class T >
const PacketFillerput (const T *, int nrelems, bool rawmode=false) const
 
const PacketFillerputBytes (const void *, int nrbytes) const
 
template<>
int sizeFor (const bool &var)
 
template<>
int sizeFor (const BufferString &str)
 
template<>
int sizeFor (const BufferStringSet &bss)
 
template<>
int sizeFor (const OD::String &str)
 
template<>
int sizeFor (const StringView &str)
 

Static Public Member Functions

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

Protected Attributes

int curpos_
 
RequestPacketpkt_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ PacketFiller()

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

◆ ~PacketFiller()

Network::PacketFiller::~PacketFiller ( )

Member Function Documentation

◆ put() [1/9]

template<class T >
const PacketFiller & Network::PacketFiller::put ( const ArrayND< T > &  arr,
bool  rawmode = false 
) const
inline

◆ put() [2/9]

template<>
const PacketFiller& Network::PacketFiller::put ( const bool &  var) const
inline

◆ put() [3/9]

template<>
const PacketFiller& Network::PacketFiller::put ( const BufferString str) const
inline

◆ put() [4/9]

template<>
const PacketFiller& Network::PacketFiller::put ( const BufferStringSet bss) const
inline

◆ put() [5/9]

const PacketFiller & Network::PacketFiller::put ( const char *  str) const
inline

◆ put() [6/9]

template<>
const PacketFiller& Network::PacketFiller::put ( const OD::String str) const
inline

◆ put() [7/9]

template<>
const PacketFiller& Network::PacketFiller::put ( const StringView str) const
inline

◆ put() [8/9]

template<class T >
const PacketFiller & Network::PacketFiller::put ( const T &  var) const
inline

◆ put() [9/9]

template<class T >
const PacketFiller & Network::PacketFiller::put ( const T *  arr,
int  nrelems,
bool  rawmode = false 
) const
inline

◆ putBytes()

const PacketFiller & Network::PacketFiller::putBytes ( const void *  ptr,
int  nrbytes 
) const
inline

◆ sizeFor() [1/8]

template<>
int Network::PacketFiller::sizeFor ( const bool &  var)
inline

◆ sizeFor() [2/8]

template<>
int Network::PacketFiller::sizeFor ( const BufferString str)
inline

◆ sizeFor() [3/8]

template<>
int Network::PacketFiller::sizeFor ( const BufferStringSet bss)
inline

◆ sizeFor() [4/8]

int Network::PacketFiller::sizeFor ( const char *  str)
inlinestatic

◆ sizeFor() [5/8]

template<>
int Network::PacketFiller::sizeFor ( const OD::String str)
inline

◆ sizeFor() [6/8]

template<>
int Network::PacketFiller::sizeFor ( const StringView str)
inline

◆ sizeFor() [7/8]

template<class T >
int Network::PacketFiller::sizeFor ( const T &  var)
inlinestatic

◆ sizeFor() [8/8]

template<class T >
int Network::PacketFiller::sizeFor ( const T *  arr,
int  nrelems,
bool  rawmode = false 
)
inlinestatic

Member Data Documentation

◆ curpos_

int Network::PacketFiller::curpos_
mutableprotected

◆ pkt_

RequestPacket& Network::PacketFiller::pkt_
protected

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