C3D Toolkit  Kernel - 117982, Vision - 2.9.2.2
vsn_variant.h File Reference

Variant class implements union of most common data types in Vision and supports fixed set of types. More...

#include <vsn_object.h>
#include <map>
#include <mb_cart_point.h>
#include <mb_matrix3d.h>
#include <mb_vector3d.h>
#include <model_item.h>
#include <vsn_math.h>
#include <vsn_size.h>
#include <vsn_nodekey.h>
#include <vsn_rect.h>
#include <vsn_color.h>
#include <vsn_string.h>
#include <vsn_global.h>

Classes

struct  VSN::VariantValue
 VariantValue is a union of possible values. More...
 
class  VSN::Variant
 Variant class implements union of most common data types in C3D Vision and supports fixed set of types. More...
 

Typedefs

typedef std::vector< Variant > VSN::VariantVector
 Variant vector.
 
typedef std::vector< String > VSN::StringVector
 String vector.
 
typedef std::vector< int > VSN::IntVector
 Integer vector.
 
typedef std::vector< float > VSN::FloatVector
 Float vector.
 

Enumerations

enum  VSN::VariantType
 Supported Variant types.
 

Functions

template<typename T >
VariantType VSN::GetVariantType ()
 Returns variant type.
 
template<>
VariantType VSN::GetVariantType< int > ()
 Returns variant type by defined specific type.
 

Detailed Description

Variant class implements union of most common data types in Vision and supports fixed set of types.