GENERATED_BODY() causing function declaration and member inaccessibility errors

I am unable to attach .cpp and .h files here. And the code is too long to post here. Is it possible to email the code to you?
Kindly share your email id and I shall immediately mail the files in question.
Thank you.