📄 txmpmeta.incl_cpp
字号:
{ XMP_StringPtr nsPtr = 0; XMP_StringLen nsLen = 0; XMP_StringPtr propPtr = 0; XMP_StringLen propLen = 0; WrapCheckBool ( found, zXMPMeta_ResolveAlias_1 ( aliasNS, aliasProp, &nsPtr, &nsLen, &propPtr, &propLen, arrayForm ) ); if ( found ) { if ( actualNS != 0 ) actualNS->assign ( nsPtr, nsLen ); if ( actualProp != 0 ) actualProp->assign ( propPtr, propLen ); WXMPMeta_Unlock_1 ( 0 ); } return found;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::DeleteAlias ( XMP_StringPtr aliasNS, XMP_StringPtr aliasProp ){ WrapCheckVoid ( zXMPMeta_DeleteAlias_1 ( aliasNS, aliasProp ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::RegisterStandardAliases ( XMP_StringPtr schemaNS ){ WrapCheckVoid ( zXMPMeta_RegisterStandardAliases_1 ( schemaNS ) );}// =================================================================================================// Basic property manipulation functions// =====================================XMP_MethodIntro(TXMPMeta,bool)::GetProperty ( XMP_StringPtr schemaNS, XMP_StringPtr propName, tStringObj * propValue, XMP_OptionBits * options ) const{ XMP_StringPtr resultPtr = 0; XMP_StringLen resultLen = 0; WrapCheckBool ( found, zXMPMeta_GetProperty_1 ( schemaNS, propName, &resultPtr, &resultLen, options ) ); if ( found ) { if ( propValue != 0 ) propValue->assign ( resultPtr, resultLen ); WXMPMeta_UnlockObject_1 ( this->xmpRef, 0 ); } return found;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::GetArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, tStringObj * itemValue, XMP_OptionBits * options ) const{ XMP_StringPtr resultPtr = 0; XMP_StringLen resultLen = 0; WrapCheckBool ( found, zXMPMeta_GetArrayItem_1 ( schemaNS, arrayName, itemIndex, &resultPtr, &resultLen, options ) ); if ( found ) { if ( itemValue != 0 ) itemValue->assign ( resultPtr, resultLen ); WXMPMeta_UnlockObject_1 ( this->xmpRef, 0 ); } return found;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::GetStructField ( XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, tStringObj * fieldValue, XMP_OptionBits * options ) const{ XMP_StringPtr resultPtr = 0; XMP_StringLen resultLen = 0; WrapCheckBool ( found, zXMPMeta_GetStructField_1 ( schemaNS, structName, fieldNS, fieldName, &resultPtr, &resultLen, options ) ); if ( found ) { if ( fieldValue != 0 ) fieldValue->assign ( resultPtr, resultLen ); WXMPMeta_UnlockObject_1 ( this->xmpRef, 0 ); } return found;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::GetQualifier ( XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, tStringObj * qualValue, XMP_OptionBits * options ) const{ XMP_StringPtr resultPtr = 0; XMP_StringLen resultLen = 0; WrapCheckBool ( found, zXMPMeta_GetQualifier_1 ( schemaNS, propName, qualNS, qualName, &resultPtr, &resultLen, options ) ); if ( found ) { if ( qualValue != 0 ) qualValue->assign ( resultPtr, resultLen ); WXMPMeta_UnlockObject_1 ( this->xmpRef, 0 ); } return found;} //GetQualifier ()// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetProperty ( XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr propValue, XMP_OptionBits options /* = 0 */ ){ WrapCheckVoid ( zXMPMeta_SetProperty_1 ( schemaNS, propName, propValue, options ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetProperty ( XMP_StringPtr schemaNS, XMP_StringPtr propName, const tStringObj & propValue, XMP_OptionBits options /* = 0 */ ){ this->SetProperty ( schemaNS, propName, propValue.c_str(), options );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, XMP_StringPtr itemValue, XMP_OptionBits options /* = 0 */ ){ WrapCheckVoid ( zXMPMeta_SetArrayItem_1 ( schemaNS, arrayName, itemIndex, itemValue, options ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex, const tStringObj & itemValue, XMP_OptionBits options /* = 0 */ ){ this->SetArrayItem ( schemaNS, arrayName, itemIndex, itemValue.c_str(), options );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::AppendArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_OptionBits arrayOptions, XMP_StringPtr itemValue, XMP_OptionBits options /* = 0 */ ){ WrapCheckVoid ( zXMPMeta_AppendArrayItem_1 ( schemaNS, arrayName, arrayOptions, itemValue, options ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::AppendArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_OptionBits arrayOptions, const tStringObj & itemValue, XMP_OptionBits options /* = 0 */ ){ this->AppendArrayItem ( schemaNS, arrayName, arrayOptions, itemValue.c_str(), options );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetStructField ( XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, XMP_StringPtr fieldValue, XMP_OptionBits options /* = 0 */ ){ WrapCheckVoid ( zXMPMeta_SetStructField_1 ( schemaNS, structName, fieldNS, fieldName, fieldValue, options ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetStructField ( XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName, const tStringObj & fieldValue, XMP_OptionBits options /* = 0 */ ){ this->SetStructField ( schemaNS, structName, fieldNS, fieldName, fieldValue.c_str(), options );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetQualifier ( XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, XMP_StringPtr qualValue, XMP_OptionBits options /* = 0 */ ){ WrapCheckVoid ( zXMPMeta_SetQualifier_1 ( schemaNS, propName, qualNS, qualName, qualValue, options ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::SetQualifier ( XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName, const tStringObj & qualValue, XMP_OptionBits options /* = 0 */ ){ this->SetQualifier ( schemaNS, propName, qualNS, qualName, qualValue.c_str(), options );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::DeleteProperty ( XMP_StringPtr schemaNS, XMP_StringPtr propName ){ WrapCheckVoid ( zXMPMeta_DeleteProperty_1 ( schemaNS, propName ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::DeleteArrayItem ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex ){ WrapCheckVoid ( zXMPMeta_DeleteArrayItem_1 ( schemaNS, arrayName, itemIndex ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::DeleteStructField ( XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName ){ WrapCheckVoid ( zXMPMeta_DeleteStructField_1 ( schemaNS, structName, fieldNS, fieldName ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,void)::DeleteQualifier ( XMP_StringPtr schemaNS, XMP_StringPtr propName, XMP_StringPtr qualNS, XMP_StringPtr qualName ){ WrapCheckVoid ( zXMPMeta_DeleteQualifier_1 ( schemaNS, propName, qualNS, qualName ) );}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::DoesPropertyExist ( XMP_StringPtr schemaNS, XMP_StringPtr propName ) const{ WrapCheckBool ( exists, zXMPMeta_DoesPropertyExist_1 ( schemaNS, propName ) ); return exists;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::DoesArrayItemExist ( XMP_StringPtr schemaNS, XMP_StringPtr arrayName, XMP_Index itemIndex ) const{ WrapCheckBool ( exists, zXMPMeta_DoesArrayItemExist_1 ( schemaNS, arrayName, itemIndex ) ); return exists;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::DoesStructFieldExist ( XMP_StringPtr schemaNS, XMP_StringPtr structName, XMP_StringPtr fieldNS, XMP_StringPtr fieldName ) const{ WrapCheckBool ( exists, zXMPMeta_DoesStructFieldExist_1 ( schemaNS, structName, fieldNS, fieldName ) ); return exists;}// -------------------------------------------------------------------------------------------------XMP_MethodIntro(TXMPMeta,bool)::DoesQualifierExist ( XMP_StringPtr schemaNS,
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -