root/trunk/constrproperties.hh
| Revision 1, 1.4 kB (checked in by poillubo, 2 years ago) |
|---|
| Line | |
|---|---|
| 1 | /* |
| 2 | * RoxTS |
| 3 | * constrproperties.hh |
| 4 | * Copyright (C) 2006 RASNEUR Vincent |
| 5 | * |
| 6 | * This program is free software; you can redistribute it and/or modify |
| 7 | * it under the terms of the GNU General Public License as published by |
| 8 | * the Free Software Foundation; either version 2 of the License, or |
| 9 | * (at your option) any later version. |
| 10 | * |
| 11 | * This program is distributed in the hope that it will be useful, |
| 12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 | * GNU General Public License for more details. |
| 15 | * |
| 16 | * You should have received a copy of the GNU General Public License |
| 17 | * along with this program; if not, write to the Free Software |
| 18 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 19 | */ |
| 20 | |
| 21 | #ifndef CONSTRPROPERTIES_HH |
| 22 | #define CONSTRPROPERTIES_HH |
| 23 | |
| 24 | #include <list> |
| 25 | #include <utility> |
| 26 | |
| 27 | #include "enums.hh" |
| 28 | #include "utils.hh" |
| 29 | |
| 30 | using namespace std; |
| 31 | |
| 32 | class ConstrProperties |
| 33 | { |
| 34 | // Attributes |
| 35 | protected: |
| 36 | uint16 constrSpeed; |
| 37 | list<pair<GenderName, SubGenderName> > authConstr; |
| 38 | // Operations |
| 39 | public: |
| 40 | ConstrProperties(uint16 constrspeed, list<pair<GenderName, SubGenderName> > authconstr); |
| 41 | uint16 getConstrSpeed(); |
| 42 | void setConstrSpeed(uint16 constrspeed); |
| 43 | list<pair<GenderName, SubGenderName> > getAuthConstr(); |
| 44 | ConstrProperties * getConstrProperties(); |
| 45 | }; |
| 46 | |
| 47 | #endif |
Note: See TracBrowser for help on using the browser.
