As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
We have XML files and we want to have C++ classes generated out of XML schema like we have it in .NET xsd.
Also the generated classes instance needs to provide appropriate XML by calling some methods.
I use Liquid XML Studio, it does all of that as well as documenting everything
If you are working with Web Services here, then I would really suggest going with gSOAP.
If you are only interested in data bindings in C++, then XSD: XML Data Binding for C++ by code synthesis is also a very good tool, they are pretty good about documentation too.
Gslgen is known to be a good code generator. It uses a simplified version of XML though.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I would like to include a source code editor inside my software.
The editor should provide at least the following features:
syntax coloration;
syntax validation;
auto-commpletion;
code folding;
inline documentation (displays a called function documentation for example);
extensible, so that it can support more languages in the future; support at least C++, Python, Java, Doc-book, XML, Latex.
Additionnaly, the framework should be in C++, as my own software that wishes to include the framework is in C++ as well. Ideally, it would use the Qt framework.
Finally, it should work at least for GNU/Linux, Mac OS X and Windows.
I wish to avoid develop it myself, as this seems a long and difficult task, and as I expect this need is quite common and many solutions already exist in the outside world.
So far, I only found QScintilla, but I am surprised there is not much more choice.
Do you have any other suggestions ?
Perhaps KatePart is what you are looking for? It's the editor component used in the Kate editor and the KDevelop IDE included in KDE.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I apologize to take a topic which is widely discussed before - but I find none of the discussions clearly tell which one to use ultimately. My requirements for a logging framework in my C++ project are
Thread safe.
Should support multiple targets.
Log rotation possible.
A way to identify module's implicitly.
I have been using boost log for some time in a small c++ project and it worked well. But when I took to a large C++ project - I found supporting multiple targets(I mean multiple files for the same project) is a nightmare, No way to implicitly mention which module is logging and above all the compile time has increased at-least 40%.
Now I am looking at alternate framework and think log4cplus and logog seems fill all my requirements. Wanted to get an expert opinion on which would suit the above criteria rather than getting in a soup again after using the library for some time.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am working with a C++ project whose application setting is a simple text file. Now i want to replace the file with XML based configuration. So which xml parser should i use?
Look at TinyXML or TinyXML++, it's small and easy.
You can also use the boost::property_tree, as someone already mentioned.
Here is a nice tutorial for using it to read/write xml.
Plenty of choice. Selecting a parser with XPATH support is often very handy in this circumstance. libxml+ with libXml2 does the job nicely - and libxml2 is included in just about any Linux distro.
Look at libconfig, it may be good replace for xml.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Does anyone know of a really rock solid C++ library for suffix tries? Other than the one in Mummer?
Ideally, I'd like:
Some concept of concurrency.
Good caching behavior.
Permissive license.
Support for arbitrary alphabets.
Being a bioinformatician, my pick would be SeqAn (check out the sequence index section). It implements a lazy suffix tree and an enhanced suffix array (an equivalent data structure), both of which have good cache behaviour.
Having actually used and then forgotten PATL, I'd like to tuck in a link in an answer.
http://code.google.com/p/patl/
It's got a couple really distinct features, and is generally pleasant reading as well.
Most likely this is a tutorial but IMO worth reading and with source code: http://marknelson.us/1996/08/01/suffix-trees.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Does anyone know any good resources for learning TTCN-3?
All I've seen (through Google) is either toy demos that does not implement real codecs to a real language (i.e. no test adaptors so that your test cases actually talks to the networ), or the ETSI language references which are dry and not exactly helpful for someone to learn to navigate an existing test system.
Thanks!
Try this book, An Introduction to TTCN-3, http://amzn.com/0470663065
I started with this: http://ttcn-3.net/tutorial.html, there's a complete test case example, explained step by step and its implementation in C#.
Here you have some documentation from the TRex TTCN-3 refactoring and metrics tool
http://www.trex.informatik.uni-goettingen.de/trac/wiki/Documentation