Public Member Functions | Public Attributes

conan::ObjectItemSorter Struct Reference

A binary function object that defines a sorting criteria for ObjectItem: class, name, address. More...

#include <ObjectModel.h>

List of all members.

Public Member Functions

 ObjectItemSorter (Qt::SortOrder inOrder, bool inAddressFirst)
bool operator() (const ObjectItem *inItem1, const ObjectItem *inItem2)

Public Attributes

bool mAddressFirst
Qt::SortOrder mSortOrder

Detailed Description

A binary function object that defines a sorting criteria for ObjectItem: class, name, address.

Parameters:
[in] inOrder Defines the sortorder, either ascending or descending
[in] inAddressFirst When true items are first sorted by address, then by class and name

Constructor & Destructor Documentation

conan::ObjectItemSorter::ObjectItemSorter ( Qt::SortOrder  inOrder,
bool  inAddressFirst 
) [inline]

Member Function Documentation

bool conan::ObjectItemSorter::operator() ( const ObjectItem inItem1,
const ObjectItem inItem2 
) [inline]

Member Data Documentation


The documentation for this struct was generated from the following file: