SkPdfRadioButtonFieldDictionary_autogen.cpp revision 8cee797901763ab0922eb9ef484cfdcbc94bee54
1#include "SkPdfRadioButtonFieldDictionary_autogen.h" 2 3 4#include "SkPdfNativeDoc.h" 5SkPdfArray* SkPdfRadioButtonFieldDictionary::Opt(SkPdfNativeDoc* doc) { 6 SkPdfNativeObject* ret = get("Opt", ""); 7 if (doc) {ret = doc->resolveReference(ret);} 8 if ((ret != NULL && ret->isArray()) || (doc == NULL && ret != NULL && ret->isReference())) return (SkPdfArray*)ret; 9 // TODO(edisonn): warn about missing default value for optional fields 10 return NULL; 11} 12 13bool SkPdfRadioButtonFieldDictionary::has_Opt() const { 14 return get("Opt", "") != NULL; 15} 16 17