Vibes C++ API
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups
Public Member Functions | List of all members
vibes::Value Class Reference

#include <vibes.h>

Public Member Functions

 Value (int i)
 
 Value (const double &d)
 
 Value (const std::string &s)
 
 Value (const char *s)
 
 Value (const std::vector< Value > &a)
 
template<typename T >
 Value (const std::vector< T > &v)
 
 Value (const Params &p)
 
bool empty ()
 
std::string toJSONString () const
 

Detailed Description

A class to hold any type supported by vibes properties system, an to provide JSON serialization

A static array that can be cast into

This enables easy intialisation of array of parameters with the brace syntax. Example:

(Vec<int,4>){1,2,3,4}

Definition at line 61 of file vibes.h.


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