Attribute to mark member variable of class as hint for sorting arrays of objects (both dynamic and static).
More...
Attribute to mark member variable of class as hint for sorting arrays of objects (both dynamic and static).
Supported member types for sorting are int, float, string and object
class SampleObject
{
int m_iMember;
void SampleObject(int i)
{
m_iMember = i;
}
}
{
foreach (
auto o: a)
Print(o.m_iMember);
a.Sort();
foreach (
auto o: a)
Print(o.m_iMember);
}
proto void Print(void var, LogLevel level=LogLevel.NORMAL)
Prints content of variable to console/log.
Attribute to mark member variable of class as hint for sorting arrays of objects (both dynamic and st...
Definition: attributes.c:519
Attribute used for tests annotation and assignment to Suites.
Definition: TestingFramework.c:97
The documentation for this interface was generated from the following file: