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

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

#include <yarp/os/NetType.h>

Detailed Description

Various utilities related to types and formats.

Definition at line 28 of file NetType.h.

Static Public Member Functions

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

Member Function Documentation

◆ getCrc()

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

Definition at line 117 of file NetType.cpp.

◆ netInt() [1/2]

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

Definition at line 20 of file NetType.cpp.

◆ netInt() [2/2]

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

Definition at line 27 of file NetType.cpp.

◆ toHexString()

std::string NetType::toHexString ( int  x)
static

Definition at line 38 of file NetType.cpp.

◆ toInt()

int NetType::toInt ( const std::string &  x)
static

Definition at line 63 of file NetType.cpp.

◆ toString() [1/3]

std::string NetType::toString ( int  x)
static

Definition at line 44 of file NetType.cpp.

◆ toString() [2/3]

std::string NetType::toString ( long  x)
static

Definition at line 50 of file NetType.cpp.

◆ toString() [3/3]

std::string NetType::toString ( unsigned int  x)
static

Definition at line 56 of file NetType.cpp.


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