Minsky
classdesc::typescriptAPI_ns Namespace Reference

Classes

struct  ArgDetail
 
struct  ClassType
 
struct  Method
 
struct  Property
 

Functions

template<class T >
enable_if< And< Not< is_container< T > >, Or< Not< is_class< T > >, is_string< T > > >, string >::T parameterType ()
 
template<class T >
enable_if< And< is_class< T >, And< Not< is_container< T > >, Not< is_string< T > > > >, string >::T parameterType ()
 
template<class T >
enable_if< And< is_container< T >, Not< is_map< T > > >, string >::T parameterType ()
 
template<class T >
enable_if< And< is_container< T >, is_map< T > >, string >::T parameterType ()
 
template<class T >
enable_if< And< is_container< T >, is_same< T, StringKeyMap< T > > >, string >::T parameterType ()
 

Function Documentation

◆ parameterType() [1/5]

template<class T >
enable_if< And< Not<is_container<T> >, Or<Not<is_class<T> >,is_string<T> > >,string>::T classdesc::typescriptAPI_ns::parameterType ( )

Definition at line 220 of file typescriptAPI_base.h.

Referenced by classdesc::typescriptAPI_ns::Method::AddArgs< M, N >::addArgs().

220 {return typescriptType<T>();}
Here is the caller graph for this function:

◆ parameterType() [2/5]

template<class T >
enable_if< And< is_class<T>, And<Not<is_container<T> >, Not<is_string<T> > > >,string>::T classdesc::typescriptAPI_ns::parameterType ( )

Definition at line 228 of file typescriptAPI_base.h.

228 {return "object";}

◆ parameterType() [3/5]

template<class T >
enable_if< And< is_container<T>, Not<is_map<T> > >, string>::T classdesc::typescriptAPI_ns::parameterType ( )

Definition at line 236 of file typescriptAPI_base.h.

236 {return parameterType<typename T::value_type>()+"[]";}

◆ parameterType() [4/5]

template<class T >
enable_if< And< is_container<T>, is_map<T> >, string>::T classdesc::typescriptAPI_ns::parameterType ( )

Definition at line 244 of file typescriptAPI_base.h.

244 {return "object";}

◆ parameterType() [5/5]

template<class T >
enable_if< And< is_container<T>, is_same<T, StringKeyMap<T> > >, string>::T classdesc::typescriptAPI_ns::parameterType ( )

Definition at line 252 of file typescriptAPI_base.h.

252 {return "object";}