jesminn 0 Newbie Poster

Hello All,

I have some questions regarding C++ and ASN.1:

1. I have a C++ class with several data structures, which themselves hold different types of variables.
Can I create an abtract model of such a class with ASN.1?

2. I also plan to write a program later on, that should take the model as input and generate the C++ source code.
This is the reason I am not prefering UML, as in UML one can not define data structures inside the class rather only as subclasses, and then if I want to generate source code from this model then I will get every data structure as seperate class, instead of them being inside the main class.

As I have worked more with UML and have no much ideas about ASN.1, I thought of asking in the community for suggections, references and opinions from the profis.

And if ASN.1 is also not suitable then what other options might be there?

Thank you.

Jesmin

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.