mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
refs #893, property index
* added startsWith * added GlobalIndexCComSystem * renamed equalsPropertyIndexEnum -> startsWithPropertyIndexEnum
This commit is contained in:
committed by
Mathew Sutcliffe
parent
e90c65a33a
commit
5f5909c5b6
@@ -144,4 +144,9 @@ namespace BlackMisc
|
||||
return f;
|
||||
}
|
||||
|
||||
bool CPropertyIndex::startsWith(int index) const
|
||||
{
|
||||
if (this->isEmpty()) { return false; }
|
||||
return this->frontToInt() == index;
|
||||
}
|
||||
} // namespace
|
||||
|
||||
Reference in New Issue
Block a user