|
BDE 4.39.x Production Release
|
#include <s_baltst_basicschemautil.h>
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.
Public Member Functions | |
| BasicSchemaUtil_SelectionAnnotationRemover () | |
| template<class SELECTION_TYPE > | |
| int | operator() (SELECTION_TYPE *selection, const bdlat_SelectionInfo &) const |
| s_baltst::BasicSchemaUtil_SelectionAnnotationRemover::BasicSchemaUtil_SelectionAnnotationRemover | ( | ) |
Create a BasicSchemaUtil_SelectionAnnotationRemover object.
| int s_baltst::BasicSchemaUtil_SelectionAnnotationRemover::operator() | ( | SELECTION_TYPE * | selection, |
| const bdlat_SelectionInfo & | |||
| ) | const |
Recursively remove all annotation sub-elements from the specified selection element.
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.