ts_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 ts_generator_H
00009 #define ts_generator_H
00010 
00011 #include "dds_generator.h"
00012 
00013 #include <string>
00014 
00015 namespace java_ts_generator {
00016   void generate(UTL_ScopedName* name);
00017 }
00018 
00019 namespace face_ts_generator {
00020   void generate(UTL_ScopedName* name);
00021 }
00022 
00023 class ts_generator : public dds_generator {
00024 public:
00025   ts_generator();
00026 
00027   bool gen_struct(AST_Structure* node, UTL_ScopedName* name,
00028                   const std::vector<AST_Field*>& fields,
00029                   AST_Type::SIZE_TYPE size, const char* repoid);
00030 
00031   bool gen_typedef(AST_Typedef*, UTL_ScopedName*, AST_Type*, const char*)
00032   { return true; }
00033 
00034   bool gen_union(AST_Union*, UTL_ScopedName*, const std::vector<AST_UnionBranch*>&,
00035                  AST_Type*, const char*);
00036 
00037 private:
00038   std::string idl_template_;
00039 };
00040 
00041 #endif

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