I have looked in the Mentor, Toolmaker, and the C++ Ref. Manual and still
cannot figure out how
to properly use the SoError class and subclasses.
Specifically, I would like to know how to use the SoDebugError class in a
similar fashion as a C programmer might use "assert" . The documentation
does not (to the best of my knowledge!) indicate how to "post" an error.
In response to an error condition, how does one generate an error? The
documentation mentions that the error-handling callbacks are called via
the SoError::handleError() function. I would have expected there to be
some function that would accept a pointer to an SoError and some number of
debugging strings that would indicate the condition that failed, the file
and line number, etc.
Could someone please point me in the right direction?
Curtis N. Bingham If you aren't part of the solution,