Blueprint generate C++

No. You need to create the c++ class as a subclass of the class that the blueprint is a subclass of. Once you have done that, then you need to reparent your blueprint class on the c++ class you have created.