YARP  2.3.70.2
Yet Another Robot Platform
yarp::os::NetType Class Reference

Various utilities related to types and formats. More...

#include <yarp/os/NetType.h>

Static Public Member Functions

static int netInt (const yarp::os::Bytes &code)
 
static bool netInt (int data, const yarp::os::Bytes &code)
 
static ConstString toHexString (int x)
 
static ConstString toString (int x)
 
static ConstString toString (long x)
 
static ConstString toString (unsigned int x)
 
static int toInt (const ConstString &x)
 
static unsigned long int getCrc (char *buf, size_t len)
 

Detailed Description

Various utilities related to types and formats.

Definition at line 28 of file NetType.h.

Member Function Documentation

◆ getCrc()

unsigned long NetType::getCrc ( char *  buf,
size_t  len 
)
static

Definition at line 114 of file NetType.cpp.

◆ netInt() [1/2]

int NetType::netInt ( const yarp::os::Bytes code)
static

Definition at line 17 of file NetType.cpp.

◆ netInt() [2/2]

bool NetType::netInt ( int  data,
const yarp::os::Bytes code 
)
static

Definition at line 24 of file NetType.cpp.

◆ toHexString()

ConstString NetType::toHexString ( int  x)
static

Definition at line 35 of file NetType.cpp.

◆ toInt()

int NetType::toInt ( const ConstString x)
static

Definition at line 60 of file NetType.cpp.

◆ toString() [1/3]

ConstString NetType::toString ( int  x)
static

Definition at line 41 of file NetType.cpp.

◆ toString() [2/3]

ConstString NetType::toString ( long  x)
static

Definition at line 47 of file NetType.cpp.

◆ toString() [3/3]

ConstString NetType::toString ( unsigned int  x)
static

Definition at line 53 of file NetType.cpp.


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