refs #893, property index

* added startsWith
* added GlobalIndexCComSystem
* renamed equalsPropertyIndexEnum -> startsWithPropertyIndexEnum
This commit is contained in:
Klaus Basan
2017-03-01 00:53:13 +01:00
committed by Mathew Sutcliffe
parent e90c65a33a
commit 5f5909c5b6
2 changed files with 13 additions and 6 deletions

View File

@@ -144,4 +144,9 @@ namespace BlackMisc
return f;
}
bool CPropertyIndex::startsWith(int index) const
{
if (this->isEmpty()) { return false; }
return this->frontToInt() == index;
}
} // namespace