ArcGIS Procedural Runtime
3.2.10650
|
#include <Builder.h>
Public Member Functions | |
Builder (const Builder &)=delete | |
virtual C * | create (std::wstring *warnings=0) const =0 |
virtual C * | createAndReset (std::wstring *warnings=0)=0 |
Builder & | operator= (const Builder &)=delete |
Interface template for the Builder Pattern. A builder is useful to create (multiple) immutable objects with similar states.
|
pure virtual |
Creates an instance of type C based on the current builder state. Does not modify the builder state.
[out] | warnings | If warnings != 0, a builder implementation may emit warnings about the creation process. |
Implemented in prtx::AnnotationBuilder, and prtx::EncoderInfoBuilder.
|
pure virtual |
Creates and instance of type C based on the current builder state. Resets the builder state at the end.
[out] | warnings | If warnings != 0, a builder implementation may emit warnings about the creation process. |
Implemented in prtx::AnnotationBuilder, and prtx::EncoderInfoBuilder.