Medical Imaging Interaction Toolkit  2024.06.00
Medical Imaging Interaction Toolkit
usAny.h File Reference
#include <algorithm>
#include <typeinfo>
#include <sstream>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <usCoreConfig.h>

Go to the source code of this file.

Classes

class  us::Any
 
class  us::BadAnyCastException
 

Namespaces

 us
 

Functions

US_Core_EXPORT std::string us::any_value_to_string (const Any &any)
 
US_Core_EXPORT std::string us::any_value_to_json (const Any &val)
 
US_Core_EXPORT std::string us::any_value_to_json (const std::string &val)
 
US_Core_EXPORT std::string us::any_value_to_json (bool val)
 
template<class T >
std::string us::any_value_to_string (const T &val)
 
template<class T >
std::string us::any_value_to_json (const T &val)
 
template<typename Iterator >
std::string us::container_to_string (Iterator i1, Iterator i2)
 
template<typename Iterator >
std::string us::container_to_json (Iterator i1, Iterator i2)
 
template<class E >
std::string us::any_value_to_string (const std::vector< E > &vec)
 
template<class E >
std::string us::any_value_to_json (const std::vector< E > &vec)
 
template<class E >
std::string us::any_value_to_string (const std::list< E > &l)
 
template<class E >
std::string us::any_value_to_json (const std::list< E > &l)
 
template<class E >
std::string us::any_value_to_string (const std::set< E > &s)
 
template<class E >
std::string us::any_value_to_json (const std::set< E > &s)
 
template<class M >
std::string us::any_value_to_string (const std::map< M, Any > &m)
 
template<class K , class V >
std::string us::any_value_to_string (const std::map< K, V > &m)
 
template<class M >
std::string us::any_value_to_json (const std::map< M, Any > &m)
 
template<class K , class V >
std::string us::any_value_to_json (const std::map< K, V > &m)
 
template<typename ValueType >
ValueType * us::any_cast (Any *operand)
 
template<typename ValueType >
const ValueType * us::any_cast (const Any *operand)
 
template<typename ValueType >
ValueType us::any_cast (const Any &operand)
 
template<typename ValueType >
ValueType us::any_cast (Any &operand)
 
template<typename ValueType >
const ValueType & us::ref_any_cast (const Any &operand)
 
template<typename ValueType >
ValueType & us::ref_any_cast (Any &operand)
 
template<typename ValueType >
ValueType * us::unsafe_any_cast (Any *operand)
 
template<typename ValueType >
const ValueType * us::unsafe_any_cast (const Any *operand)
 
template<class K >
std::string us::any_value_to_string (const std::map< K, Any > &m)
 
template<class K >
std::string us::any_value_to_json (const std::map< K, Any > &m)