ArcGIS Procedural Runtime
3.2.10650
|
#include <Extension.h>
Public Types | |
enum | ExtensionType { ET_UNDEFINED, ET_STREAM_ADAPTOR, ET_RESOLVEMAP_PROVIDER, ET_ENCODER, ET_DECODER, ET_COUNT } |
Public Member Functions | |
Extension (const Extension &)=delete | |
virtual prt::ContentType | getContentType () const =0 |
virtual ExtensionType | getExtensionType () const =0 |
Extension & | operator= (const Extension &)=delete |
Static Public Member Functions | |
static prt::ContentType | toContentType (const std::wstring &ctStr) |
static ExtensionType | toExtensionType (const std::wstring &etStr) |
static const std::wstring & | toString (const ExtensionType &et) |
static const std::wstring & | toString (const prt::ContentType &ct) |
Base class for all PRTX extension types: Encoders, Decoders, StreamAdaptors, and ResolveMapProviders. Extensions are not copyable.
Possible extension types.
Enumerator | |
---|---|
ET_UNDEFINED | Extension sub-class is undefined. |
ET_STREAM_ADAPTOR | Extension sub-class is a stream adaptor. |
ET_RESOLVEMAP_PROVIDER | Extension sub-class is a resolve map provider. |
ET_ENCODER | Extension sub-class is an encoder. |
ET_DECODER | Extension sub-class is a decoder. |
ET_COUNT | Number of extension types. |
|
pure virtual |
Specifies the supported content type. Implemented by each subclass.
Implemented in prtx::TextureEncoder, prtx::TableDecoder, prtx::MaterialEncoder, prtx::StringDecoder, prtx::CGBDecoder, prtx::GeometryEncoder, prtx::TextureDecoder, prtx::MaterialDecoder, prtx::GeometryDecoder, prtx::StreamAdaptor, and prtx::ResolveMapProvider.
|
pure virtual |
Specifies the extensions type. Implemented by each subclass.
Implemented in prtx::Encoder, prtx::StreamAdaptor, prtx::ResolveMapProvider, and prtx::Decoder.
|
static |
Utility member function to get the content type enum item from a string.
ctStr | The contentType type as string. |
|
static |
Utility member function to get the extension enum item from a string.
etStr | The extension type as string. |
|
static |
|
static |