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

Method SetProperty_Float

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

Source from the content-addressed store, hash-verified

1172// -----------------
1173
1174void
1175XMPMeta::SetProperty_Float ( XMP_StringPtr schemaNS,
1176 XMP_StringPtr propName,
1177 double propValue,
1178 XMP_OptionBits options )
1179{
1180 XMP_Assert ( (schemaNS != 0) && (propName != 0) ); // Enforced by wrapper.
1181
1182 XMP_StringPtr valueStr;
1183 XMP_StringLen valueLen;
1184
1185 XMPUtils::ConvertFromFloat ( propValue, "", &valueStr, &valueLen );
1186 SetProperty ( schemaNS, propName, valueStr, options );
1187
1188} // SetProperty_Float
1189
1190
1191// -------------------------------------------------------------------------------------------------

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected