Generating a set of classes from a form
Does it exist a way to create a wizard that enables the developer to use a form to generate a bunch of classes and methods depending on the parameters entered in the form ?
Here is my actual situation :
I am developing a C++ HTTP Server with Clion that implements a set of web services
Each web service is implemented in the same manner through
- A new class ParamRequest that stores in and out parameters for the request
- A new method process(ParamRequest &) in an object Server that receives the ParamRequest and do the job (of course the job is not done in the same manenr for each web service)
- A new class HttpRequest that translates the input parameters from Http to a new MyRequest object and the output parameters fro MyRequest to Http XML/Json output
It is quite boring to manually create the Skeleton each time I add a new request.
I wonder whether CLion can help my developers to do it faster.
My dream :
> A form where I add the name of my request, its parameters with their types
> A generate button that generates all the code for me.
I will only focus on the process(ParamRequest &) method that do the specific part of the request.
Is it possible to do that through CLion IDE or should I develop it outside (in Python for instance)
Thank you
Arnaud
Please sign in to leave a comment.