Minsky
typescriptAPI_base.h File Reference
#include "classdesc.h"
#include "function.h"
#include "stringKeyMap.h"
#include <algorithm>
#include <numeric>
Include dependency graph for typescriptAPI_base.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  minsky::ItemT< T, Base >
 
struct  classdesc::is_map< T >
 
struct  classdesc::is_map< std::map< K, V > >
 
struct  classdesc::is_itemT< T >
 
struct  classdesc::is_itemT< minsky::ItemT< T, B > >
 
struct  classdesc::typescriptAPI_ns::Property
 
struct  classdesc::typescriptAPI_ns::ArgDetail
 
struct  classdesc::typescriptAPI_ns::Method
 
struct  classdesc::typescriptAPI_ns::Method::AddArgs< M, N >
 
struct  classdesc::typescriptAPI_ns::Method::AddArgs< M, 0 >
 
struct  classdesc::typescriptAPI_ns::ClassType
 
struct  classdesc::typescriptAPI_t
 
struct  classdesc_access::access_typescriptAPI< T >
 
struct  classdesc_access::access_typescriptAPI< std::shared_ptr< T > >
 

Namespaces

 minsky
 Creation and access to the minskyTCL_obj object, which has code to record whenever Minsky's state changes.
 
 classdesc
 
 classdesc::typescriptAPI_ns
 
 classdesc_access
 

Typedefs

template<class... >
using classdesc::void_t = void
 

Functions

template<class T >
string classdesc::typescriptType ()
 
template<class T >
enable_if< And< is_arithmetic< T >, And< Not< is_const< T > >, Not< is_same< T, bool > > > >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_same< T, bool >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_function< T >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< And< is_class< T >, And< Not< is_reference< T > >, Not< is_const< T > > > >, And< And< Not< is_string< T > >, And< Not< is_pointer< T > >, Not< is_itemT< T > > > >, And< And< Not< is_container< T > >, Not< is_iterator< T > > >, And< Not< is_smart_ptr< T > >, Not< is_pair< T > > > > > >, std::string >::T classdesc::typescriptTypep ()
 typescript name corresponding to C++ type T More...
 
template<class T >
enable_if< is_enum< T >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_reference< T >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_pointer< T >, string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_const< T >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< is_iterator< T >, Not< is_pointer< T > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< And< is_sequence< T >, Not< is_const< T > > >, And< Not< is_arithmetic< typename T::value_type > >, Not< is_string< typename T::value_type > > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< is_sequence< T >, And< Not< is_const< T > >, Or< is_arithmetic< typename T::value_type >, is_string< typename T::value_type > > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< And< is_associative_container< T >, Not< is_map< T > > >, Not< is_const< T > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< is_map< T >, Not< is_const< T > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< is_smart_ptr< T >, Not< is_const< T > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< And< is_pair< T >, Not< is_const< T > > >, std::string >::T classdesc::typescriptTypep ()
 
template<class T >
enable_if< is_itemT< T >, std::string >::T classdesc::typescriptTypep ()
 
template<>
string classdesc::typescriptType< string > ()
 
template<>
string classdesc::typescriptType< void > ()
 
template<class T >
enable_if< And< Not< is_container< T > >, Or< Not< is_class< T > >, is_string< T > > >, string >::T classdesc::typescriptAPI_ns::parameterType ()
 
template<class T >
enable_if< And< is_class< T >, And< Not< is_container< T > >, Not< is_string< T > > > >, string >::T classdesc::typescriptAPI_ns::parameterType ()
 
template<class T >
enable_if< And< is_container< T >, Not< is_map< T > > >, string >::T classdesc::typescriptAPI_ns::parameterType ()
 
template<class T >
enable_if< And< is_container< T >, is_map< T > >, string >::T classdesc::typescriptAPI_ns::parameterType ()
 
template<class T >
enable_if< And< is_container< T >, is_same< T, StringKeyMap< T > > >, string >::T classdesc::typescriptAPI_ns::parameterType ()
 
template<class C , class B >
enable_if< Not< is_map< B > >, void >::T classdesc::typescriptAPI (typescriptAPI_t &, const std::string &)
 
template<class C , class B >
enable_if< is_map< B >, void >::T classdesc::typescriptAPI (typescriptAPI_t &t, const std::string &)
 
template<class C , class B , class T >
enable_if< is_arithmetic< T >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T(B::*))
 
template<class C , class B , class T >
enable_if< is_arithmetic< T >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T *)
 
template<class VT >
std::string classdesc::construct (const std::string &container, const std::string name)
 
template<class C , class B , class T >
enable_if< is_sequence< T >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T *)
 
template<class C , class B , class T >
enable_if< is_sequence< T >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T(B::*))
 
template<class C , class B , class T >
enable_if< Or< is_same< typename remove_const< T >::type, std::string >, is_enum< typename remove_const< T >::type > >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T(B::*))
 
template<class C , class B , class T >
enable_if< Or< is_same< typename remove_const< T >::type, std::string >, is_enum< typename remove_const< T >::type > >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T *)
 
template<class C , class B >
void classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, const char **)
 
template<class C , class B , class T >
void classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, std::set< T >(B::*))
 
template<class C , class B , class K , class V >
void classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, std::map< K, V >(B::*))
 
template<class C , class B , class V >
void classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, StringKeyMap< V >(B::*))
 
template<class C , class B , class M >
enable_if< functional::is_function< M >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, M)
 
template<class C , class B , class T >
enable_if< And< And< is_class< T >, Not< is_same< typename remove_const< T >::type, std::string > > >, And< Not< is_sequence< T > >, Not< is_excluded< T > > > >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T(B::*))
 
template<class C , class B , class T >
enable_if< is_excluded< T >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T(B::*))
 
template<class C , class B , class T >
enable_if< And< And< is_class< T >, Not< is_same< typename remove_const< T >::type, std::string > > >, Not< is_sequence< T > > >, void >::T classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, T *)
 
template<class T >
void classdesc::typescriptAPI (typescriptAPI_t &, const std::string &, T,...)
 
void classdesc::typescriptAPI_onbase (typescriptAPI_t &,...)
 
template<class C , class B >
void classdesc::typescriptAPI_type (typescriptAPI_t &, const std::string &, is_constructor,...)
 
template<class C , class B , class T >
void classdesc::typescriptAPI_type (typescriptAPI_t &t, const std::string &d, is_const_static, T a)