本文整理汇总了C++中ON_wString::CompareNoCase方法的典型用法代码示例。如果您正苦于以下问题:C++ ON_wString::CompareNoCase方法的具体用法?C++ ON_wString::CompareNoCase怎么用?C++ ON_wString::CompareNoCase使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类ON_wString
的用法示例。
在下文中一共展示了ON_wString::CompareNoCase方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的C++代码示例。
示例1: OnBeginCommand
void CMarmaladeEventWatcher::OnBeginCommand(const CRhinoCommand& command, const CRhinoCommandContext& context)
{
const ON_wString s = L"SetCurrentRenderPlugin";
if (s.CompareNoCase(const_cast<CRhinoCommand&>(command).EnglishCommandName()) == 0)
{
m_uuidOldRenderEngine = RhinoApp().GetDefaultRenderApp();
}
}
开发者ID:KingOfMazes,项目名称:Rhino5Samples_CPP,代码行数:9,代码来源:MarmaladeEventWatcher.cpp示例2: IsFactoryProductAcceptableAsChild
bool CMarmaladeAutoMaterial::IsFactoryProductAcceptableAsChild(const IRhRdkContentFactory* pFactory,
const wchar_t* wszChildSlotName) const
{
const ON_wString sFactoryKind = pFactory->Kind();
if (0 == sFactoryKind.CompareNoCase(RDK_KIND_TEXTURE))
return true; // Factory produces textures.
return false; // Factory produces something "unpalatable".
}
开发者ID:krzyzacy,项目名称:Rhino5Samples_CPP,代码行数:10,代码来源:MarmaladeAutoMaterial.cpp示例3: FindStringTableItem
int CSampleDocumentUserDataPlugIn::FindStringTableItem( const wchar_t* str )
{
if( 0 == str || 0 == str[0] )
return -1;
for( int i = 0; i < m_string_table.Count(); i++ )
{
ON_wString item = m_string_table[i];
if( 0 == item.CompareNoCase(str) )
return i;
}
return -1;
}
开发者ID:619486,项目名称:Rhino5Samples_CPP,代码行数:14,代码来源:SampleDocumentUserDataPlugIn.cpp示例4: OnEndCommand
void CMarmaladeEventWatcher::OnEndCommand(const CRhinoCommand& command, const CRhinoCommandContext& context, CRhinoCommand::result rc)
{
const ON_wString s = L"SetCurrentRenderPlugin";
if ((rc == CRhinoCommand::success) && (s.CompareNoCase(const_cast<CRhinoCommand&>(command).EnglishCommandName()) == 0))
{
const UUID uuidRenderEngine = RhinoApp().GetDefaultRenderApp();
if (m_uuidOldRenderEngine != uuidRenderEngine)
{
if (uuidRenderEngine == MarmaladePlugIn().PlugInID())
{
MarmaladePlugIn().AddMarmaladeMenu();
}
else
{
MarmaladePlugIn().RemoveMarmaladeMenu();
}
}
}
}
开发者ID:KingOfMazes,项目名称:Rhino5Samples_CPP,代码行数:20,代码来源:MarmaladeEventWatcher.cpp本文标签属性:
示例:示例图
代码:代码大全可复制
ON_wString:ON_wString
CompareNoCase:int是什么意思