|
OpenASIP 2.2
|
#include <wx/wx.h>#include <wx/listctrl.h>#include <wx/radiobox.h>#include <wx/spinctrl.h>#include <boost/format.hpp>#include "BusDialog.hh"#include "Bus.hh"#include "Segment.hh"#include "Guard.hh"#include "Conversion.hh"#include "WxConversion.hh"#include "WarningDialog.hh"#include "ErrorDialog.hh"#include "InformationDialog.hh"#include "Machine.hh"#include "MachineTester.hh"#include "UserManualCmd.hh"#include "ProDeConstants.hh"#include "FUPort.hh"#include "RFGuardDialog.hh"#include "FUGuardDialog.hh"#include "ModelConstants.hh"#include "WidgetTools.hh"#include "GUITextGenerator.hh"#include "ProDeTextGenerator.hh"
Go to the source code of this file.
Functions | |
| int wxCALLBACK | ListCompareFunction (long item1, long item2, long WXUNUSED(sortData)) |
| int wxCALLBACK ListCompareFunction | ( | long | item1, |
| long | item2, | ||
| long | WXUNUSEDsortData | ||
| ) |
Defines how SortItems() does comparison between two items to sort the list.
Order: names in ascending order. Within same name, index numbers in ascending order. Within same name and index number, non-inverted guard comes before inverted.
Definition at line 375 of file BusDialog.cc.
References assert, TTAMachine::Guard::isInverted(), TTAMachine::Component::name(), TTAMachine::RegisterGuard::registerFile(), and TTAMachine::RegisterGuard::registerIndex().
Referenced by BusDialog::updateGuardLists().
