RTAB-Map 0.23.10
Real-Time Appearance-Based Mapping
Loading...
Searching...
No Matches
UVariant.h File Reference

UVariant class for storing and converting between different data types. More...

#include "rtabmap/utilite/utilite_export.h"
#include <string>
#include <vector>
Include dependency graph for UVariant.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  UVariant
 A variant type that can hold values of different types. More...
 

Detailed Description

UVariant class for storing and converting between different data types.

This class provides a type-safe way to store values of different types and convert between them. It supports basic types (bool, char, int, float, etc.) and arrays of these types.

Example:

UVariant v(42);
if(v.isInt())
{
int value = v.toInt();
}
A variant type that can hold values of different types.
Definition UVariant.h:54

Definition in file UVariant.h.