How to retrieve class's information 
Author Message
 How to retrieve class's information

Hello,
Is there anyway to retrieve all the name class's member variable, member
functions?
For example:
class A
{

    public:

    int m_ID;

    CString m_strName;

    int GetID();

    CString GetName();

Quote:
}

Then the information I would like to retrieve is some texts like this:

Class member variables: "m_ID", "m_strName"

Class member functions: "GetID","GetName"

Please help,

Thank you.



Mon, 21 Feb 2005 07:51:31 GMT  
 How to retrieve class's information

Quote:

> Hello,
> Is there anyway to retrieve all the name class's member variable, member
> functions?
> For example:
> class A
> {

>     public:

>     int m_ID;

>     CString m_strName;

>     int GetID();

>     CString GetName();

> }

> Then the information I would like to retrieve is some texts like this:

> Class member variables: "m_ID", "m_strName"

> Class member functions: "GetID","GetName"

> Please help,

> Thank you.

Without the source code?  No, the variables and function names disappear
during compilation and do not exist in the exe.

--
Scott McPhillips [VC++ MVP]



Sun, 20 Feb 2005 19:48:24 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Information on system information retrieving...

2. Runtime Class information and DLL's

3. retrieve the connection information

4. Retrieving updated information only from MS Access Database w/ MFC DAO

5. DCOM - Retrieving Client information in ATL ActiveX Exe(Server)

6. How to retrieve information from COleVariant???

7. Retrieving Database Information

8. Retrieving version information

9. Retrieve BIOS information

10. Retrieve BIOS information

11. Retrieving logon session information

12. Retrieving List Control Information.

 

 
Powered by phpBB® Forum Software