start support for annotation for log field types.

commit before rolling part of it back...
This commit is contained in:
Bernhard Amann 2011-12-05 15:02:03 -08:00
parent 949ec6897a
commit 78b24da7e4
7 changed files with 28 additions and 6 deletions

View file

@ -12,8 +12,11 @@
struct FieldMapping {
string name;
TypeTag type;
// internal type for sets and vectors
TypeTag subtype;
int position;
// for ports: pos of the second field
int secondary_position;
FieldMapping(const string& arg_name, const TypeTag& arg_type, int arg_position);
FieldMapping(const string& arg_name, const TypeTag& arg_type, const TypeTag& arg_subtype, int arg_position);