BDE 4.14.0 Production release
|
#include <s_baltst_basicschemautil.h>
Public Member Functions | |
BasicSchemaUtil_SelectionAnnotationRemover () | |
Create a BasicSchemaUtil_SelectionAnnotationRemover object. | |
template<class SELECTION_TYPE > | |
int | operator() (SELECTION_TYPE *selection, const bdlat_SelectionInfo &) const |
This function-object class provides a function-call operator that removes all annotations from an element that is the selection
of a bdlat
Choice
-compatible object.
s_baltst::BasicSchemaUtil_SelectionAnnotationRemover::BasicSchemaUtil_SelectionAnnotationRemover | ( | ) |
int s_baltst::BasicSchemaUtil_SelectionAnnotationRemover::operator() | ( | SELECTION_TYPE * | selection, |
const bdlat_SelectionInfo & | |||
) | const |
Recursively remove all annotation sub-elements from the specified selection
element. The behavior is undefined unless the specified SELECTION_TYPE
is the selection
of a bdlat
Choice
-compatible object, and is one of the non-"Choice"-suffixed types provided by s_baltst::BasicSchema
.