v8_generator.h

Go to the documentation of this file.
00001 /*
00002  *
00003  *
00004  * Distributed under the OpenDDS License.
00005  * See: http://www.opendds.org/license.html
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() : first_(true) {}
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, const char* repoid);
00027 
00028   bool gen_union(AST_Union*, UTL_ScopedName* name,
00029                  const std::vector<AST_UnionBranch*>& branches,
00030                  AST_Type* type, const char* repoid);
00031 
00032   void fwd_decl();
00033 
00034   bool first_;
00035 };
00036 
00037 #endif

Generated on Fri Feb 12 20:05:29 2016 for OpenDDS by  doxygen 1.4.7