OpenDDS  Snapshot(2023/04/28-20:55)
keys_generator.h
Go to the documentation of this file.
1 /*
2  *
3  *
4  * Distributed under the OpenDDS License.
5  * See: http://www.opendds.org/license.html
6  */
7 
8 #ifndef keys_generator_H
9 #define keys_generator_H
10 
11 #include "dds_generator.h"
12 
13 class keys_generator : public dds_generator {
14 public:
15  bool gen_struct(AST_Structure* node, UTL_ScopedName* name,
16  const std::vector<AST_Field*>& fields,
17  AST_Type::SIZE_TYPE size, const char* repoid);
18 
19  bool gen_typedef(AST_Typedef*, UTL_ScopedName*, AST_Type*, const char*)
20  { return true; }
21 
22  bool gen_union(AST_Union* node, UTL_ScopedName* name, const std::vector<AST_UnionBranch*>&,
23  AST_Type*, const char*);
24 };
25 
26 #endif
bool gen_union(AST_Union *node, UTL_ScopedName *name, const std::vector< AST_UnionBranch *> &, AST_Type *, const char *)
bool gen_struct(AST_Structure *node, UTL_ScopedName *name, const std::vector< AST_Field *> &fields, AST_Type::SIZE_TYPE size, const char *repoid)
bool gen_typedef(AST_Typedef *, UTL_ScopedName *, AST_Type *, const char *)
const char *const name
Definition: debug.cpp:60