Searched refs:InstanceClass (Results 1 – 2 of 2) sorted by relevance
92 void emitMappingEnum(std::vector<Record *> &Items, Record *InstanceClass,113 Record *InstanceClass, in emitMappingEnum() argument115 std::string EnumNameField = InstanceClass->getValueAsString("EnumNameField"); in emitMappingEnum()117 if (!InstanceClass->isValueUnset("EnumValueField")) in emitMappingEnum()118 EnumValueField = InstanceClass->getValueAsString("EnumValueField"); in emitMappingEnum()120 OS << "enum " << InstanceClass->getName() << "Values {\n"; in emitMappingEnum()231 void SearchableTableEmitter::emitMapping(Record *InstanceClass, in emitMapping() argument233 const std::string &TableName = InstanceClass->getName(); in emitMapping()241 for (const RecordVal &Field : InstanceClass->getValues()) { in emitMapping()254 for (auto *Field : *InstanceClass->getValueAsListInit("SearchableFields")) { in emitMapping()[all …]
22 // "lookup{InstanceClass}By{SearchableField}", returning "const {InstanceClass}24 // EnumNameField is still defined, there will be an "enum {InstanceClass}Values"28 // Inside the IMPL guard will be a primary data table "{InstanceClass}sList" and30 // ("{InstanceClass}sBy{SearchableField}"). Additionally implementations of the