On Apr 23, 4:37 pm, "Victor Bazarov" <v.Abaza...@comAcast.netwrote:
desktop wrote:
Is there an API like the one for java where its possible to see which
functions are on vector etc? I have tried to search teh FAQ and google
but have not found anything.
No, there is no such API. We use manuals for that. And the word you
were looking for is "reflection".
It depends on what he's looking for. If it is documentation,
yes: we use manuals (on line or on paper), and so does Java.
And it's not called reflection. If it's runtime, then Java has
reflection (which I've generally heard called introspection
elsewhere), and C++ has no real equivalent. (typeinfo doesn't
give half the information you can get from Java's reflection.)
On the other hand, it's pretty simple to simulate some of the
more frequent uses.
--
James Kanze (GABI Software) email:ja*********@gmail.com
Conseils en informatique orientée objet/
Beratung in objektorientierter Datenverarbeitung
9 place Sémard, 78210 St.-Cyr-l'École, France, +33 (0)1 30 23 00 34