ArcGIS Procedural Runtime
3.2.10650
|
#include <Builder.h>
Public Member Functions | |
virtual std::shared_ptr< C > | createShared (std::wstring *warnings=0) const =0 |
virtual std::shared_ptr< C > | createSharedAndReset (std::wstring *warnings=0)=0 |
SharedPtrBuilder & | operator= (const SharedPtrBuilder &)=delete |
SharedPtrBuilder (const SharedPtrBuilder &)=delete | |
Interface template for the Shared Pointer Builder Pattern. Builder with additional member functions to create shared pointers for objects with base type prtx::Content
|
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::MaterialBuilder, prtx::MeshBuilder, prtx::ShaderBuilder, and prtx::GeometryBuilder.
|
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::MaterialBuilder, prtx::MeshBuilder, prtx::ShaderBuilder, and prtx::GeometryBuilder.