|
@@ -330,6 +330,7 @@ private:
|
|
|
Framework::RCArray<DimensionGeneratorFactory> dimensionGenerators;
|
|
|
Framework::RCArray<DimensionFactory> dimensionFactories;
|
|
|
Framework::RCTrie<TypeFatoryRef> parsableTypes;
|
|
|
+ Framework::RCArray<Framework::Text> parsableTypeNames;
|
|
|
|
|
|
public:
|
|
|
TypeRegistry();
|
|
@@ -363,6 +364,7 @@ public:
|
|
|
= new PolymorphTypeFactory<T>();
|
|
|
registerType(polymorphFactory);
|
|
|
typeFactoryRef = parsableTypes.z(typeId, typeId.getLength());
|
|
|
+ parsableTypeNames.add(new Framework::Text(typeId));
|
|
|
}
|
|
|
PolymorphTypeFactory<T>* polymorphFactory
|
|
|
= dynamic_cast<PolymorphTypeFactory<T>*>(
|
|
@@ -392,6 +394,7 @@ public:
|
|
|
[factory]() { return factory->getValidator(); },
|
|
|
factory);
|
|
|
parsableTypes.set(typeId, typeId.getLength(), typeFactoryRef);
|
|
|
+ parsableTypeNames.add(new Framework::Text(typeId));
|
|
|
}
|
|
|
|
|
|
template<typename T> T* fromJson(Framework::JSON::JSONValue* zJson) const
|
|
@@ -447,4 +450,6 @@ public:
|
|
|
}
|
|
|
return result;
|
|
|
}
|
|
|
+
|
|
|
+ void writeSyntaxInfo(Framework::Text folderPath) const;
|
|
|
};
|