BDE 4.14.0 Production release
Loading...
Searching...
No Matches
s_baltst::BasicSchemaUtil_SelectionAnnotationRemover Class Reference

#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
 

Detailed Description

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.

See s_baltst_basicschemautil

Constructor & Destructor Documentation

◆ BasicSchemaUtil_SelectionAnnotationRemover()

s_baltst::BasicSchemaUtil_SelectionAnnotationRemover::BasicSchemaUtil_SelectionAnnotationRemover ( )

Member Function Documentation

◆ operator()()

template<class SELECTION_TYPE >
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.


The documentation for this class was generated from the following file: