WARPXM v1.10.0
Loading...
Searching...
No Matches
wxany.h File Reference
#include "wxexcept.h"
#include <algorithm>
#include <cstddef>
#include <stdint.h>
#include <string>
#include <typeinfo>
#include <vector>
#include "detail/wxany.tcc"

Go to the source code of this file.

Classes

struct  wxm::detail::wxany_arithmetic_caster< T >
 Helper for casting any arithmetic type to any other arithmetic type. More...
 
struct  wxm::detail::wxany_string_caster
 Helper for casting to a string type. More...
 
struct  wxm::detail::wxany_avector_caster< T >
 Helper for casting to a vector of arithmetic types from other vectors of arithmetic types or from a single arithmetic type. More...
 
struct  wxm::detail::wxany_svector_caster
 Helper for casting to a vector of strings. More...
 
struct  wxm::detail::wxany_caster< T >
 Helper for casting between various types. More...
 
struct  wxm::detail::wxany_caster< std::string >
 
struct  wxm::detail::wxany_caster< std::vector< std::string > >
 
struct  wxm::detail::wxany_caster< bool >
 
struct  wxm::detail::wxany_caster< char >
 
struct  wxm::detail::wxany_caster< unsigned char >
 
struct  wxm::detail::wxany_caster< short >
 
struct  wxm::detail::wxany_caster< unsigned short >
 
struct  wxm::detail::wxany_caster< int >
 
struct  wxm::detail::wxany_caster< unsigned int >
 
struct  wxm::detail::wxany_caster< long >
 
struct  wxm::detail::wxany_caster< unsigned long >
 
struct  wxm::detail::wxany_caster< long long >
 
struct  wxm::detail::wxany_caster< unsigned long long >
 
struct  wxm::detail::wxany_caster< float >
 
struct  wxm::detail::wxany_caster< double >
 
struct  wxm::detail::wxany_caster< std::vector< bool > >
 
struct  wxm::detail::wxany_caster< std::vector< char > >
 
struct  wxm::detail::wxany_caster< std::vector< unsigned char > >
 
struct  wxm::detail::wxany_caster< std::vector< short > >
 
struct  wxm::detail::wxany_caster< std::vector< unsigned short > >
 
struct  wxm::detail::wxany_caster< std::vector< int > >
 
struct  wxm::detail::wxany_caster< std::vector< unsigned int > >
 
struct  wxm::detail::wxany_caster< std::vector< long > >
 
struct  wxm::detail::wxany_caster< std::vector< unsigned long > >
 
struct  wxm::detail::wxany_caster< std::vector< long long > >
 
struct  wxm::detail::wxany_caster< std::vector< unsigned long long > >
 
struct  wxm::detail::wxany_caster< std::vector< float > >
 
struct  wxm::detail::wxany_caster< std::vector< double > >
 
class  WxAny
 Class WxAny is based on the "any" class described in "Valued Conversion", Kevlin Henney, C++ Report, July-August 2000, pages 37–40. More...
 

Namespaces

namespace  wxm
 Base namespace for everything not included in the global namespace.
 
namespace  wxm::detail
 

Macros

#define WXCASTER_HELPER(TYPE)
 
#define WXVECCASTER_HELPER(TYPE)
 

Functions

template<typename VALUETYPE >
VALUETYPE wx_access_payload_with_type_check (const WxAny &operand)
 Extract the data from the WxAny object.
 
template<typename VALUETYPE >
VALUETYPE wx_access_payload_with_type_check (WxAny &operand)
 Extract the data from the WxAny object.
 

Macro Definition Documentation

◆ WXCASTER_HELPER

#define WXCASTER_HELPER (   TYPE)
Value:
template<> struct wxany_caster<TYPE> : public wxany_arithmetic_caster<TYPE> \
{ \
}

◆ WXVECCASTER_HELPER

#define WXVECCASTER_HELPER (   TYPE)
Value:
template<> \
struct wxany_caster<std::vector<TYPE>> : public wxany_avector_caster<TYPE> \
{ \
}