MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / SetProperty_Int

Method SetProperty_Int

xmpsdk/src/XMPMeta-GetSet.cpp:1132–1146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1130// ---------------
1131
1132void
1133XMPMeta::SetProperty_Int ( XMP_StringPtr schemaNS,
1134 XMP_StringPtr propName,
1135 XMP_Int32 propValue,
1136 XMP_OptionBits options )
1137{
1138 XMP_Assert ( (schemaNS != 0) && (propName != 0) ); // Enforced by wrapper.
1139
1140 XMP_StringPtr valueStr;
1141 XMP_StringLen valueLen;
1142
1143 XMPUtils::ConvertFromInt ( propValue, "", &valueStr, &valueLen );
1144 SetProperty ( schemaNS, propName, valueStr, options );
1145
1146} // SetProperty_Int
1147
1148
1149// -------------------------------------------------------------------------------------------------

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected