/// such as the vector of attribute keys corresponding to the columns
struct LevelType
{
- // The List Control
- wxListCtrl* wxCtrl;
- wxSplitterWindow* wxSplitter;
- std::vector<std::string> key;
- // The vector of currently selected nodes of the level
- std::vector<tree::Node*> Selected;
- // True iff the vector Selected is up to date
- bool SelectedUpToDate;
- // The column used for sorting
- unsigned int SortColumn;
- ///Boolean that defines the direction of the sort
- ///True is ascending order and false is descending
- bool SortAscending;
- //The vector of not shown attributes
- std::vector<std::string> notShownAtts;
+ // The List Control
+ wxListCtrl *wxCtrl;
+ wxSplitterWindow *wxSplitter;
+ std::vector<std::string> key;
+ // The vector of currently selected nodes of the level
+ std::vector<tree::Node*> Selected;
+ // True iff the vector Selected is up to date
+ bool SelectedUpToDate;
+ // The column used for sorting
+ unsigned int SortColumn;
+ ///Boolean that defines the direction of the sort
+ ///True is ascending order and false is descending
+ bool SortAscending;
+ //The vector of not shown attributes
+ std::vector<std::string> notShownAtts;
};
/// The vector of levels : one for each level of the tree
std::vector<LevelType> mLevelList;
/// return the wxSplitter of one level
wxSplitterWindow* GetSplitter(int l) { return mLevelList[l].wxSplitter; }
//Returns the maximum number of levels
- int GetNumberOfLevels(){ return mLevelList.size(); }
+ int GetNumberOfLevels(){ return (int)mLevelList.size(); }
/// Gets the user selected data from the level passed as a parameter
/// Updates the vector if necessary
const std::vector<tree::Node*>& GetSelected(int level);
///Initial color palette
std::vector<std::string> mColorPalette;
- wxMenu* menu;
+ wxMenu *menu;
- wxObject* senderCtrl;
+ wxObject *senderCtrl;
int mAscendingID;
int mDescendingID;
int mFilterID;
unsigned int mLastLevel;
- wxMenu* menuItem;
- wxMenu *subExportMenu;
+ wxMenu *menuItem;
+ wxMenu *subExportMenu;
int mAnonymizingID;
int mLocalCopyID;
int mEditFieldID;
wxString title,
const wxSize& size);
~RemoveAlertDlg();
-
bool isChecked();
private :