Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
Avro >> mail # dev >> Forward Declaration

Copy link to this message
Re: Forward Declaration
Hi Thomas Dressel,

Is it possible to elaborate on what you mean by "forward declaration"? I'm aware of one usage of the term in C and C++ where instead of exposing the full definition of a function, data or class you expose just its declaration and then supply the full definition later. Here is an example with class declaration:

class X;

class Y {
    X* x;

class X {
    Y *y;

This is the only way to handle circular references between classes X and Y. But I don't understand its reference to Avro.

Still better, can you give a small example of what you are trying to do?

Thank you,


 From: Thomas Dressel <[EMAIL PROTECTED]>
Sent: Monday, 24 June 2013 7:10 PM
Subject: Forward Declaration


I've searched the web and the Documentation of Avro, but I didn't get 
an answer.
So I write this email to you, with the question, if Avro does support 
forward declaration?

I look forward to hearing from you soon.
Yours faithfully,

Thomas Dressel