当前位置: 首页>>代码示例>>C++>>正文


C++ PropertyString::Value方法代码示例

本文整理汇总了C++中PropertyString::Value方法的典型用法代码示例。如果您正苦于以下问题:C++ PropertyString::Value方法的具体用法?C++ PropertyString::Value怎么用?C++ PropertyString::Value使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在PropertyString的用法示例。


在下文中一共展示了PropertyString::Value方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。

示例1: PropertyReadLock

void CpProxyUpnpOrgConnectionManager1C::PropertySinkProtocolInfo(Brhz& aSinkProtocolInfo) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aSinkProtocolInfo.Set(iSinkProtocolInfo->Value());
    PropertyReadUnlock();
}
开发者ID:ACDN,项目名称:ohNet,代码行数:7,代码来源:CpUpnpOrgConnectionManager1C.cpp

示例2: PropertyReadLock

void CpProxyAvOpenhomeOrgInfo1C::PropertyCodecName(Brhz& aCodecName) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aCodecName.Set(iCodecName->Value());
    PropertyReadUnlock();
}
开发者ID:alexkit,项目名称:ohNet,代码行数:7,代码来源:CpAvOpenhomeOrgInfo1C.cpp

示例3: PropertyReadLock

void CpProxyAvOpenhomeOrgSender1C::PropertyAttributes(Brhz& aAttributes) const
{
    PropertyReadLock();
    ASSERT(IsSubscribed());
    aAttributes.Set(iAttributes->Value());
    PropertyReadUnlock();
}
开发者ID:astaykov,项目名称:ohNet,代码行数:7,代码来源:CpAvOpenhomeOrgSender1C.cpp

示例4: buf

const char* STDCALL ServicePropertyValueString(ServiceProperty aProperty)
{
    // FIXME - no handling of PropertyError
    PropertyString* prop = reinterpret_cast<PropertyString*>(aProperty);
    ASSERT(prop != NULL);
    Brhz buf(prop->Value());
    return buf.Transfer();
}
开发者ID:MatthewMiddleweek,项目名称:ohNet,代码行数:8,代码来源:ServiceC.cpp

示例5: ServicePropertyGetValueString

int32_t STDCALL ServicePropertyGetValueString(ServiceProperty aProperty, const char** aData, uint32_t* aLen)
{
    PropertyString* prop = reinterpret_cast<PropertyString*>(aProperty);
    ASSERT(prop != NULL);
    int32_t err = 0;
    try {
        Brhz buf(prop->Value());
        if (buf.Bytes() == 0) {
            *aData = NULL;
            *aLen = 0;
        }
        else {
            *aLen = buf.Bytes();
            *aData = buf.Transfer();
        }
    }
    catch (PropertyError&) {
        err = -1;
    }
    return err;
}
开发者ID:MatthewMiddleweek,项目名称:ohNet,代码行数:21,代码来源:ServiceC.cpp

示例6:

void DvProviderAvOpenhomeOrgInfo1C::GetPropertyMetatext(Brhz& aValue)
{
    aValue.Set(iPropertyMetatext->Value());
}
开发者ID:wifigeek,项目名称:ohNet,代码行数:4,代码来源:DvAvOpenhomeOrgInfo1C.cpp

示例7: a

void CpProxyAvOpenhomeOrgExakt2C::PropertyDeviceList(Brhz& aDeviceList) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aDeviceList.Set(iDeviceList->Value());
}
开发者ID:Montellese,项目名称:ohNetGenerated,代码行数:6,代码来源:CpAvOpenhomeOrgExakt2C.cpp

示例8: ASSERT

void DvProviderAvOpenhomeOrgRadio1C::GetPropertyTransportState(Brhz& aValue)
{
    ASSERT(iPropertyTransportState != NULL);
    aValue.Set(iPropertyTransportState->Value());
}
开发者ID:astaykov,项目名称:ohNet,代码行数:5,代码来源:DvAvOpenhomeOrgRadio1C.cpp

示例9: ASSERT

void DvProviderLinnCoUkCloud1C::GetPropertyAssociationStatus(Brhz& aValue)
{
    ASSERT(iPropertyAssociationStatus != NULL);
    aValue.Set(iPropertyAssociationStatus->Value());
}
开发者ID:openhome,项目名称:ohNetGenerated,代码行数:5,代码来源:DvLinnCoUkCloud1C.cpp

示例10: a

void CpProxyLinnCoUkExaktInputs1C::PropertyAssociations(Brhz& aAssociations) const
{
    AutoMutex a(GetPropertyReadLock());
    CheckSubscribed();
    aAssociations.Set(iAssociations->Value());
}
开发者ID:openhome,项目名称:ohNetGenerated,代码行数:6,代码来源:CpLinnCoUkExaktInputs1C.cpp

示例11: ASSERT

void DvProviderAvOpenhomeOrgCredentials1C::GetPropertyPublicKey(Brhz& aValue)
{
    ASSERT(iPropertyPublicKey != NULL);
    aValue.Set(iPropertyPublicKey->Value());
}
开发者ID:DoomHammer,项目名称:ohNetGenerated,代码行数:5,代码来源:DvAvOpenhomeOrgCredentials1C.cpp

示例12: ASSERT

void DvProviderUpnpOrgAVTransport1C::GetPropertyLastChange(Brhz& aValue)
{
    ASSERT(iPropertyLastChange != NULL);
    aValue.Set(iPropertyLastChange->Value());
}
开发者ID:ACDN,项目名称:ohNet,代码行数:5,代码来源:DvUpnpOrgAVTransport1C.cpp

示例13: ASSERT

void DvProviderAvOpenhomeOrgMediaServer1C::GetPropertyManufacturerInfo(Brhz& aValue)
{
    ASSERT(iPropertyManufacturerInfo != NULL);
    aValue.Set(iPropertyManufacturerInfo->Value());
}
开发者ID:tata-,项目名称:ohNet-1,代码行数:5,代码来源:DvAvOpenhomeOrgMediaServer1C.cpp


注:本文中的PropertyString::Value方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。