Linux multi-monitor fullscreen support
[ryzomcore.git] / ryzom / tools / assoc_mem / record.h
blob9310890cd1409e029422a656a18b63b57cb915e2
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #include <vector>
18 #include "value.h"
20 #ifndef NL_RECORD_H_
21 #define NL_RECORD_H_
23 class CRecord {
24 private:
25 std::vector<IValue *> _Values;
27 public:
28 CRecord();
29 CRecord(std::vector<IValue *> &);
30 virtual ~CRecord();
31 const std::vector<IValue *> &getValues();
32 void addValue(IValue *);
33 void addValue(std::string &);
34 void addValue(bool);
35 void addValue(int);
37 int size();
39 virtual const IValue *operator[](int);
42 #endif