本文整理汇总了C++中Author::getCompanyURL方法的典型用法代码示例。如果您正苦于以下问题:C++ Author::getCompanyURL方法的具体用法?C++ Author::getCompanyURL怎么用?C++ Author::getCompanyURL使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Author
的用法示例。
在下文中一共展示了Author::getCompanyURL方法的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C++代码示例。
示例1: getValue
bool AuthorNode::getValue (const String& strMemberName, String& strValue)
{
bool bValueSet = false;
Author* pObject = dynamic_cast<Author*>(m_pObject);
if (strMemberName == L"value")
{
ValueObject* pValueObj = dynamic_cast<ValueObject*>(m_pObject);
if (pValueObj)
{
if (!pValueObj->isNothing())
{
strValue = pValueObj->toString();
bValueSet = true;
}
}
}
else if (strMemberName == L"CreatedBy")
{
if (pObject->hasValue_CreatedBy())
{
strValue = (StringObjectImpl(pObject->getCreatedBy())).toString();
bValueSet = true;
}
}
else if (strMemberName == L"CreatedByEmail")
{
if (pObject->hasValue_CreatedByEmail())
{
strValue = (StringObjectImpl(pObject->getCreatedByEmail())).toString();
bValueSet = true;
}
}
else if (strMemberName == L"Company")
{
if (pObject->hasValue_Company())
{
strValue = (StringObjectImpl(pObject->getCompany())).toString();
bValueSet = true;
}
}
else if (strMemberName == L"CompanyURL")
{
if (pObject->hasValue_CompanyURL())
{
strValue = (StringObjectImpl(pObject->getCompanyURL())).toString();
bValueSet = true;
}
}
else if (strMemberName == L"TimeStamp")
{
if (pObject->hasValue_TimeStamp())
{
strValue = (StringObjectImpl(pObject->getTimeStamp())).toString();
bValueSet = true;
}
}
return bValueSet;
}