Both Java and .Net seem to have a wealth of object validation frameworks (e.g. Commons Validator, XWork, etc.), but I've been unable to find anything similar for C++. Has anyone come across something like this, or do people typically roll their own?
A:
Some GUI frameworks have validators.
Check out wxWidgets Validators
Thomas Matthews
2010-01-28 23:59:06
Thanks for the link. Qt has something similar. The difference is that GUI framework validators evaluate the value in the GUI controls, while I want validation of my data objects. In other words, I need validation of my data model, not my presentation.
Ben
2010-01-29 00:43:13