views:

32

answers:

1

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
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