YARP  2.3.68+225-20170329.5+gitb0d3289
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 112 of file NetType.cpp.

◆ netInt() [1/2]

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

Definition at line 15 of file NetType.cpp.

◆ netInt() [2/2]

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

Definition at line 22 of file NetType.cpp.

◆ toHexString()

ConstString NetType::toHexString ( int  x)
static

Definition at line 33 of file NetType.cpp.

◆ toInt()

int NetType::toInt ( const ConstString x)
static

Definition at line 58 of file NetType.cpp.

◆ toString() [1/3]

ConstString NetType::toString ( int  x)
static

Definition at line 39 of file NetType.cpp.

◆ toString() [2/3]

ConstString NetType::toString ( long  x)
static

Definition at line 45 of file NetType.cpp.

◆ toString() [3/3]

ConstString NetType::toString ( unsigned int  x)
static

Definition at line 51 of file NetType.cpp.


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