|
-
April 26th, 2010, 08:47 AM
#12
Re: Template: great but now how do I detect type?
The data are some kind of points calculated with algorithms.
They all have coordinates, they all have a so-called descriptor... but some of them have additional data associated (10 doubles, 4 integers..)
The hierarchy idea is good, but I need to access these structures in a simple way.
Something like
MYclass a;
a.GetPoints();
CalculateOtherData( a.RetrievePoints() );
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|