Searched refs:TypeDef (Results 1 – 24 of 24) sorted by relevance
129 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_cpp_headers_one_file()130 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()142 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM || in generate_cpp_headers_one_file()143 c.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()173 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()181 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()189 if (ch.second->GetDefinitionType() == TypeDef::Type::CHECKSUM) { in generate_cpp_headers_one_file()197 if (c.second->GetDefinitionType() == TypeDef::Type::CUSTOM) { in generate_cpp_headers_one_file()210 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in generate_cpp_headers_one_file()278 if (e.second->GetDefinitionType() == TypeDef::Type::ENUM) { in generate_cpp_headers_one_file()
23 class TypeDef {25 TypeDef(std::string name) : name_(name) {} in TypeDef() function27 TypeDef(std::string name, int size) : name_(name), size_(size) {} in TypeDef() function29 virtual ~TypeDef() = default;
21 CustomFieldDef::CustomFieldDef(std::string name, std::string include) : TypeDef(name), include_(inc… in CustomFieldDef()24 : TypeDef(name, size), include_(include) { in CustomFieldDef()38 TypeDef::Type CustomFieldDef::GetDefinitionType() const { in GetDefinitionType()39 return TypeDef::Type::CUSTOM; in GetDefinitionType()
32 void AddTypeDef(std::string name, TypeDef* def) { in AddTypeDef()41 TypeDef* GetTypeDef(const std::string& name) { in GetTypeDef()86 std::map<std::string, TypeDef*> type_defs_;87 std::deque<std::pair<std::string, TypeDef*>> type_defs_queue_;
25 EnumDef::EnumDef(std::string name, int size) : TypeDef(name, size) {} in EnumDef()48 TypeDef::Type EnumDef::GetDefinitionType() const { in GetDefinitionType()49 return TypeDef::Type::ENUM; in GetDefinitionType()
28 TypeDef::Type ChecksumDef::GetDefinitionType() const { in GetDefinitionType()29 return TypeDef::Type::CHECKSUM; in GetDefinitionType()
32 virtual TypeDef::Type GetDefinitionType() const override;
28 class EnumDef : public TypeDef {
26 class CustomFieldDef : public TypeDef {
35 TypeDef::Type GetDefinitionType() const;
46 TypeDef::Type GetDefinitionType() const;
32 class ParentDef : public TypeDef {
34 TypeDef::Type StructDef::GetDefinitionType() const { in GetDefinitionType()35 return TypeDef::Type::STRUCT; in GetDefinitionType()
295 if (parent_struct->GetDefinitionType() != TypeDef::Type::STRUCT) {319 if (parent_struct->GetDefinitionType() != TypeDef::Type::STRUCT) {545 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…695 …EnumDef* enum_def = (type_def->GetDefinitionType() == TypeDef::Type::ENUM ? (EnumDef*)type_def : n…
22 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in StructParserGenerator()
73 if (s.second->GetDefinitionType() == TypeDef::Type::STRUCT) { in parse_declarations_one_file()
182 TypeDef::Type PacketDef::GetDefinitionType() const { in GetDefinitionType()183 return TypeDef::Type::PACKET; in GetDefinitionType()
24 : TypeDef(name), fields_(fields), parent_(parent) {} in ParentDef()
27 ArrayField(std::string name, TypeDef* type_def, int fixed_size, ParseLocation loc);
28 VectorField(std::string name, TypeDef* type_def, std::string size_modifier, ParseLocation loc);
35 ArrayField::ArrayField(std::string name, TypeDef* type_def, int array_size, ParseLocation loc) in ArrayField()
35 VectorField::VectorField(std::string name, TypeDef* type_def, std::string size_modifier, ParseLocat… in VectorField()
META-INF/MANIFEST.MF META-INF/ com/ com/google/ com/ ...