Reading ELF file Symbol table of C++ program

Folks,

I have some program(Test.cpp) as follows,

#include<iostream>
class Abc
{
    private: 
        int _theVar;
    public : 
        int printVar();
           
};
int Abc :: printVar()
{
    _theVar=10;

}
main()
{
    Abc _t;
    _t.printVar();
}

I compiled the program using g++ ( g++ -o Test Test.cpp)

After this i tried read the "Test ELF" file's symbol table. I am able fetch the Abc :: printVar symbol, but i am not able to fetch the _theVar of Abc class. Please help me out in solving the this issue.

Rgds,
VInod

Please use CODE tags

How did you read the symbol table - dlopen and dlsym?
Check this link,

elf(3ELF) - object file access library (man pages section 3: Extended Library Functions) - Sun Microsystems

If you are rolling your own tool to read an ELF file, the document you need to read is Tool Interface Standard (TIS) Executable and Linking Format (ELF) Specification Version 1.2