|
|
dng_iptc Class ReferenceClass for reading and holding IPTC metadata associated with a DNG file.
More...
#include <dng_iptc.h>
List of all members.
|
Public Member Functions |
| bool | IsEmpty () const |
| bool | NotEmpty () const |
| void | Parse (const void *blockData, uint32 blockSize, uint64 offsetInOriginalFile) |
| dng_memory_block * | Spool (dng_memory_allocator &allocator) |
Public Attributes |
|
dng_string | fTitle |
|
int32 | fUrgency |
|
dng_string | fCategory |
|
dng_string_list | fSupplementalCategories |
|
dng_string_list | fKeywords |
|
dng_string | fInstructions |
|
dng_date_time_info | fDateTimeCreated |
|
dng_string | fAuthor |
|
dng_string | fAuthorsPosition |
|
dng_string | fCity |
|
dng_string | fState |
|
dng_string | fCountry |
|
dng_string | fCountryCode |
|
dng_string | fLocation |
|
dng_string | fTransmissionReference |
|
dng_string | fHeadline |
|
dng_string | fCredit |
|
dng_string | fSource |
|
dng_string | fCopyrightNotice |
|
dng_string | fDescription |
|
dng_string | fDescriptionWriter |
Protected Types |
| enum | DataSet {
kRecordVersionSet = 0,
kObjectNameSet = 5,
kUrgencySet = 10,
kCategorySet = 15,
kSupplementalCategoriesSet = 20,
kKeywordsSet = 25,
kSpecialInstructionsSet = 40,
kDateCreatedSet = 55,
kTimeCreatedSet = 60,
kBylineSet = 80,
kBylineTitleSet = 85,
kCitySet = 90,
kSublocationSet = 92,
kProvinceStateSet = 95,
kCountryCodeSet = 100,
kCountryNameSet = 101,
kOriginalTransmissionReferenceSet = 103,
kHeadlineSet = 105,
kCreditSet = 110,
kSourceSet = 115,
kCopyrightNoticeSet = 116,
kCaptionSet = 120,
kCaptionWriterSet = 122
} |
| enum | CharSet { kCharSetUnknown = 0,
kCharSetUTF8 = 1
} |
Protected Member Functions |
|
void | ParseString (dng_stream &stream, dng_string &s, CharSet charSet) |
|
void | SpoolString (dng_stream &stream, const dng_string &s, uint8 dataSet, uint32 maxChars, CharSet charSet) |
|
bool | SafeForSystemEncoding () const |
Static Protected Member Functions |
|
static bool | SafeForSystemEncoding (const dng_string &s) |
|
static bool | SafeForSystemEncoding (const dng_string_list &list) |
Detailed Description
Class for reading and holding IPTC metadata associated with a DNG file.
See the IPTC specification for information on member fields of this class.
Member Function Documentation
| bool dng_iptc::IsEmpty |
( |
|
) |
const |
| bool dng_iptc::NotEmpty |
( |
|
) |
const [inline] |
Test if IPTC metadata exists. - Return values:
-
| true | if IPTC metadata exists for this DNG. |
References IsEmpty().
Referenced by IsEmpty().
| void dng_iptc::Parse |
( |
const void * |
blockData, |
|
|
uint32 |
blockSize, |
|
|
uint64 |
offsetInOriginalFile | |
|
) |
| | |
The documentation for this class was generated from the following files:
|