* @file containerSettings.h
* @brief Contains the ContainerSettings class
* @author Diego CACERES (diego.caceres[AT]creatis.insa-lyon.fr)
- * @date 2011-05-24
+ * @date 2011-06-02
*/
#ifndef BUTTONGROUPSETTINGS_H_
#define BUTTONGROUPSETTINGS_H_
-#include <list>
-#include <map>
#include <vector>
-#include <iostream>
+
#include "structBCSettings.h"
#include "system.h"
-#include "functor.h"
/*! @namespace <creaButtonContainer>
* @brief Contains the creaButtonContainer library included in creaMaracasVisu.
* @exception std::bad_alloc
*/
void
- AddButton( const std::string & groupName, const std::string buttonName,
- const std::string iconpath, const std::string buttonDescription,
+ AddButton( const StringType & groupName, const StringType &buttonName,
+ const StringType &iconpath, const StringType &buttonDescription,
FunctionEventType event );
// ----------------------------------------------------------------------------------
/*! @fn void AddButton( BCSettingsStruct* info );
- * @brief This method adds a new button to the container.
+ * @brief This method adds a new button to the container using the
+ * BCSettingsStruct structure.
* @exception std::bad_alloc
* @param info
*/
AddButtons( BCStructVectorType infoList );
// ----------------------------------------------------------------------------------
private:
- ButtonGroupMap m_ButtonGroupContainer; //! <std::map< std::string, ButtonList > View pointer.
- KeyMapList m_GroupNameList; //! <ButtonContainerPanel View pointer.
+ ButtonGroupMap m_ButtonGroupContainer; //! <The container with the group of buttons.
+ KeyMapList m_GroupNameList; //! <The container with the name of the groups of buttons.
};
}
}