Please find demo code in our GitHub.
This demo program automatically generates setter and getter methods for private fields within C++ classes. The process specifically targets header files.