ArcGIS Procedural Runtime
3.2.10650
|
#include <EncoderInfo.h>
Public Types | |
enum | OptionState { OS_ENABLED, OS_DISABLED, OS_HIDDEN } |
Public Member Functions | |
virtual Status | createValidatedOptionsAndStates (const AttributeMap *optionsIn, const AttributeMap **optionsOut, const AttributeMap **statesOut=nullptr) const =0 |
virtual const Annotation * | getAnnotation (const wchar_t *key, size_t i, Status *status=0) const =0 |
virtual const wchar_t * | getDescription (Status *status=0) const =0 |
virtual const wchar_t * | getExtensions (Status *status=0) const =0 |
virtual const char *const * | getIconsBase64 (size_t *iconsCount, Status *status=0) const =0 |
virtual const wchar_t * | getID (Status *status=0) const =0 |
virtual const wchar_t *const * | getInitialShapeAttributeKeys (size_t *count, Status *status=0) const =0 |
virtual double | getMerit (Status *status=0) const =0 |
virtual const wchar_t * | getName (Status *status=0) const =0 |
virtual size_t | getNumAnnotations (const wchar_t *key, Status *status=0) const =0 |
virtual const wchar_t *const * | getOptionKeys (size_t *count, Status *status=0) const =0 |
virtual ContentType | getType (Status *status=0) const =0 |
virtual AttributeMap::PrimitiveType | getType (const wchar_t *key, Status *status=0) const =0 |
Public Member Functions inherited from prt::Object | |
void | destroy () const |
virtual char * | toXML (char *result, size_t *resultSize, Status *stat=0) const =0 |
char * | toXMLDocument (char *result, size_t *resultSize, Status *stat=0) const |
Protected Member Functions | |
EncoderInfo (const EncoderInfo &) | |
Protected Member Functions inherited from prt::Object | |
Object (const Object &) | |
EncoderInfo is used to return static encoder information and create a valid set of encoding options and annotated initial shape attributes. Please note that some initial shape attributes may be mandated by a specific encoder and the prtx::Encoder::validate/encode calls will fail if they are missing.
Please note, that dependencies between encoding options are not explicitly managed but expressed via the state of each option instead (OptionState). Please use the prtx::EncoderInfoBuilder to construct an EncoderInfo instance.
|
pure virtual |
returns a validated copy of the encoder options and their states:
optionsIn | The options to be validated. If optionsIn is 0, a copy of the default encoder options is returned. |
optionsOut | The newly created object containing the validated options. Must be destroyed by the caller. |
statesOut | A new instance of an AttributeMap is created with the enabled states, must be destroyed by the caller. Ignored if 0. |
|
pure virtual |
Returns the i-th annotation on the encode option or initial shape attribute k. The following annotations are supported:
key | Name of the option or initial shape attribute. | |
i | Annotation index. | |
[out] | stat | Optional pointer to return the status. |
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
iconsCount | Number of returned icons | |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
Returns all initial shape attribute keys which are known to the encoder.
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
key | Name of the option or initial shape attribute. | |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
[out] | count | Pointer to return number of keys. |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
[out] | status | Optional pointer to return the status. |
|
pure virtual |
key | Name of the option or initial shape attribute. | |
[out] | status | Optional pointer to return the status. |