v8_generator.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008 #ifndef v8_generator_H
00009 #define v8_generator_H
00010
00011 #include "dds_generator.h"
00012
00013 class v8_generator : public dds_generator {
00014
00015 public:
00016 v8_generator() {}
00017
00018 private:
00019 bool gen_enum(AST_Enum*, UTL_ScopedName* name,
00020 const std::vector<AST_EnumVal*>& contents, const char* repoid);
00021
00022 bool gen_struct(AST_Structure*, UTL_ScopedName* name,
00023 const std::vector<AST_Field*>& fields,
00024 AST_Type::SIZE_TYPE size, const char* repoid);
00025
00026 bool gen_typedef(AST_Typedef*, UTL_ScopedName* name, AST_Type* type,
00027 const char* repoid);
00028
00029 bool gen_union(AST_Union*, UTL_ScopedName* name,
00030 const std::vector<AST_UnionBranch*>& branches,
00031 AST_Type* type, const char* repoid);
00032
00033 void gen_includes();
00034 };
00035
00036 #endif