picking_data.hpp

Go to the documentation of this file.
00001 
00002 /*
00003 **    TP 4ETI CPE Lyon
00004 **    Copyright (C) 2012 Damien Rohmer
00005 **
00006 **    This program is free software: you can redistribute it and/or modify
00007 **    it under the terms of the GNU General Public License as published by
00008 **    the Free Software Foundation, either version 3 of the License, or
00009 **    (at your option) any later version.
00010 **
00011 **   This program is distributed in the hope that it will be useful,
00012 **    but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 **    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00014 **    GNU General Public License for more details.
00015 **
00016 **    You should have received a copy of the GNU General Public License
00017 **    along with this program.  If not, see <http://www.gnu.org/licenses/>.
00018 */
00019 
00020 #ifndef _PICKING_DATA_HPP_
00021 #define _PICKING_DATA_HPP_
00022 
00023 #include <v3.hpp>
00024 #include <map>
00025 
00026 namespace cpe
00027 {
00029 class picking_data
00030 {
00031     public:
00032 
00034         picking_data();
00035 
00037         const bool& get_is_picked() const;
00039         void set_is_picked(const bool& value);
00040 
00042         const std::map<unsigned int,std::pair<unsigned int,unsigned int> >& get_picked_index() const;
00044         void set_picked_index(const std::map<unsigned int,std::pair<unsigned int,unsigned int> >& value);
00045 
00047         const bool& get_is_up_to_date() const;
00049         void set_is_up_to_date(const bool& value);
00050 
00051 
00052 
00053     private:
00054 
00056         bool is_picked;
00058         bool is_up_to_date;
00062         std::map<unsigned int,std::pair<unsigned int,unsigned int> > picked_index;
00063 
00064 };
00065 }
00066 
00067 #endif
Generated on Mon Feb 27 17:40:02 2012 by  doxygen 1.6.3