Hi,
    This is my first project with capnp proto. I compiled the following 
capnp file to generate capnp.h and capnp.c++
struct Handover
{
    ruleId @0: Text;
    start @1: List(StartEvent);
    payload @2: List(PayloadEvent);
    update @4: List(UpdateEvent);
    end @3: List(EndEvent);
}

In the generated .h file I am getting the following struct for Handover.

ststruct Handover {
  Handover() = delete;

  class Reader;
  class Builder;
  class Pipeline;

  struct _capnpPrivate {
    CAPNP_DECLARE_STRUCT_HEADER(e6870fa4f9ef7613, 0, 5)
    #if !CAPNP_LITE
    static constexpr ::capnp::_::RawBrandedSchema const* brand = 
&schema->defaultBrand;
    #endif  // !CAPNP_LITE
  };
};

My question is why the fileds like ruleId, start, payload, update and end 
are missing from structure definition. Any idea will be helpful.

-- 
You received this message because you are subscribed to the Google Groups 
"Cap'n Proto" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/capnproto.

Reply via email to