Vuo 2.4.4
Loading...
Searching...
No Matches
VuoType.cc
Go to the documentation of this file.
1
10#include "VuoType.hh"
11#include "VuoStringUtilities.hh"
12
13
15const string VuoType::listTypeNamePrefix = "VuoList_";
16
18const string VuoType::dictionaryTypeNamePrefix = "VuoDictionary_";
19
20
26VuoType::VuoType(string typeName)
27 : VuoBase<VuoCompilerType,void>("VuoType"),
28 VuoModule(typeName)
29{
30}
31
33{
34}
35
40bool VuoType::isTypeName(const string &potentialTypeName)
41{
42 return potentialTypeName.find(".") == string::npos;
43}
44
48bool VuoType::isListTypeName(const string &typeName)
49{
51}
52
56bool VuoType::isDictionaryTypeName(const string &typeName)
57{
59}
60
65string VuoType::extractInnermostTypeName(const string &typeName)
66{
67 string t{typeName};
70
71 return t;
72}