Vuo  2.3.2
VuoCompilerGenericType.hh
Go to the documentation of this file.
1 
10 #pragma once
11 
12 #include "VuoCompilerType.hh"
13 
14 class VuoGenericType;
15 
23 {
24 public:
25  static VuoCompilerGenericType * newGenericType(VuoGenericType *baseType, VuoCompilerType * (^getType)(string moduleKey));
26  static VuoCompilerGenericType * newGenericType(VuoGenericType *baseType, const map<string, VuoCompilerType *> &types);
27  static string chooseBackingTypeName(string genericTypeName, vector<string> compatibleTypeNames);
28 
29  string getBackingTypeName(void);
30 
31 private:
32  VuoCompilerGenericType(VuoGenericType *baseType, VuoCompilerType *backingType);
33 
34  static const string defaultBackingTypeName;
35 };