Talk About Network

Google





Programming > C - C++ Learning > Runtime detecti...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 4 Topic 4091 of 4400
Post > Topic >>

Runtime detection of structure member

by "Vijaya Kumar B.H." <bhvijaykumarn@[EMAIL PROTECTED] > Apr 2, 2008 at 09:46 AM

I am working on a project where i have to do same processing for all the 
members of the structure. The problem is the struct is very huge (with
about 
20 ints) and i have to write the specific function to each structure
member.

I am a java programmer also , java has a concept called reflection which 
helps to extract the members from the object. I am just wondering if such
a 
way is available in C++. I saw few external libraries which can do such 
thing but they involve log of changes in structure.

any better idea ?

Vijay
 




 4 Posts in Topic:
Runtime detection of structure member
"Vijaya Kumar B.H.&q  2008-04-02 09:46:59 
Re: Runtime detection of structure member
Bart van Ingen Schenau &l  2008-04-02 18:56:41 
Re: Runtime detection of structure member
Francis Glassborow <fr  2008-04-03 12:25:20 
Re: Runtime detection of structure member
"Vijaya Kumar B.H.&q  2008-04-03 09:02:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Wed Jan 7 11:58:57 PST 2009.