MipBaselib::SsUtils Class Reference

this class provides a fast and reliable way to encrypt/decrypt some data types to/from stringstream objects. Supported types are double, couple of double (for drive and turnrate), Pose, Scan, PosiFeatures, Time More...

#include <SsUtils.h>

List of all members.

Static Public Member Functions

static bool encrypt (int &num, stringstream &ss)
 int encrypter
static bool decrypt (int &num, stringstream &ss)
 int decrypter
static bool encrypt (UCoordmm &num, stringstream &ss)
 UCoordmm encrypter.
static bool decrypt (UCoordmm &num, stringstream &ss)
 UCoordmm decrypter.
static bool encrypt (Decimal &num, stringstream &ss)
 double encrypter
static bool decrypt (Decimal &num, stringstream &ss)
 double decrypter
static bool encrypt (Decimal &num1, Decimal &num2, stringstream &ss)
 double double encrypter
static bool decrypt (Decimal &num1, Decimal &num2, stringstream &ss)
 double double decrypter
static bool encrypt (Position &pos, stringstream &ss)
 Position encrypter.
static bool decrypt (Position &pos, stringstream &ss)
 Position decrypter.
static bool encrypt (Pose &pose, stringstream &ss)
 Pose encrypter.
static bool decrypt (Pose &pose, stringstream &ss)
 Pose decrypter.
static bool encrypt (PosiFeatures &feat, stringstream &ss)
 PosiFeatures encrypter.
static bool decrypt (PosiFeatures &feat, stringstream &ss)
 PosiFeatures decrypter.
static bool encrypt (Time &time, stringstream &ss)
 Time encrypter.
static bool decrypt (Time &time, stringstream &ss)
 Time decrypter.
static bool encrypt (Ray &ray, stringstream &ss)
 Ray encrypter.
static bool decrypt (Ray &ray, stringstream &ss)
 Ray decrypter.
static bool decrypt (Ray &ray, stringstream &ss, int rayNum)
 Ray decrypter.
static bool decrypt (Ray &ray, stringstream &ss, int rayNum, Decimal scale, bool getBearing)
 Ray decrypter.
static bool encrypt (Scan &scan, stringstream &ss)
 Scan encrypter.
static bool decrypt (Scan &scan, stringstream &ss)
 Scan decrypter.


Detailed Description

this class provides a fast and reliable way to encrypt/decrypt some data types to/from stringstream objects. Supported types are double, couple of double (for drive and turnrate), Pose, Scan, PosiFeatures, Time

Author:
Paolo Stegagno

Member Function Documentation

static bool MipBaselib::SsUtils::encrypt ( int &  num,
stringstream &  ss 
) [inline, static]

int encrypter

static bool MipBaselib::SsUtils::decrypt ( int &  num,
stringstream &  ss 
) [inline, static]

int decrypter

static bool MipBaselib::SsUtils::encrypt ( UCoordmm num,
stringstream &  ss 
) [inline, static]

UCoordmm encrypter.

static bool MipBaselib::SsUtils::decrypt ( UCoordmm num,
stringstream &  ss 
) [inline, static]

UCoordmm decrypter.

static bool MipBaselib::SsUtils::encrypt ( Decimal num,
stringstream &  ss 
) [inline, static]

double encrypter

static bool MipBaselib::SsUtils::decrypt ( Decimal num,
stringstream &  ss 
) [inline, static]

double decrypter

static bool MipBaselib::SsUtils::encrypt ( Decimal num1,
Decimal num2,
stringstream &  ss 
) [inline, static]

double double encrypter

static bool MipBaselib::SsUtils::decrypt ( Decimal num1,
Decimal num2,
stringstream &  ss 
) [inline, static]

double double decrypter

static bool MipBaselib::SsUtils::encrypt ( Position pos,
stringstream &  ss 
) [inline, static]

Position encrypter.

static bool MipBaselib::SsUtils::decrypt ( Position pos,
stringstream &  ss 
) [inline, static]

Position decrypter.

static bool MipBaselib::SsUtils::encrypt ( Pose pose,
stringstream &  ss 
) [inline, static]

Pose encrypter.

static bool MipBaselib::SsUtils::decrypt ( Pose pose,
stringstream &  ss 
) [inline, static]

Pose decrypter.

static bool MipBaselib::SsUtils::encrypt ( PosiFeatures feat,
stringstream &  ss 
) [inline, static]

PosiFeatures encrypter.

static bool MipBaselib::SsUtils::decrypt ( PosiFeatures feat,
stringstream &  ss 
) [inline, static]

PosiFeatures decrypter.

static bool MipBaselib::SsUtils::encrypt ( Time time,
stringstream &  ss 
) [inline, static]

Time encrypter.

static bool MipBaselib::SsUtils::decrypt ( Time time,
stringstream &  ss 
) [inline, static]

Time decrypter.

static bool MipBaselib::SsUtils::encrypt ( Ray ray,
stringstream &  ss 
) [inline, static]

Ray encrypter.

static bool MipBaselib::SsUtils::decrypt ( Ray ray,
stringstream &  ss 
) [inline, static]

Ray decrypter.

static bool MipBaselib::SsUtils::decrypt ( Ray ray,
stringstream &  ss,
int  rayNum 
) [inline, static]

Ray decrypter.

bool MipBaselib::SsUtils::decrypt ( Ray ray,
stringstream &  ss,
int  rayNum,
Decimal  scale,
bool  getBearing 
) [static]

Ray decrypter.

static bool MipBaselib::SsUtils::encrypt ( Scan scan,
stringstream &  ss 
) [inline, static]

Scan encrypter.

bool MipBaselib::SsUtils::decrypt ( Scan scan,
stringstream &  ss 
) [static]

Scan decrypter.


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6