ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/cvsroot/cf.schmorp.de/dclient/include/deliantra/data/inventory.h
Revision: 1.4
Committed: Sun Oct 24 20:31:40 2010 UTC (16 years ago) by sf-pippijn
Content type: text/plain
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
Log Message:
use EV and plain sockets instead of asio

File Contents

# User Rev Content
1 sf-pippijn 1.1 #pragma once
2    
3 sf-pippijn 1.4 #include "types.h"
4 sf-pippijn 1.2
5     #include <vector>
6 sf-pippijn 1.1
7     namespace data
8     {
9     struct item;
10    
11     struct inventory
12 sf-pippijn 1.2 : private std::vector<item>
13 sf-pippijn 1.1 {
14 sf-pippijn 1.2 typedef std::vector<item> vector_type;
15    
16 sf-pippijn 1.3 using vector_type::reverse_iterator;
17     using vector_type::const_reverse_iterator;
18    
19 sf-pippijn 1.2 using vector_type::iterator;
20     using vector_type::const_iterator;
21    
22     using vector_type::begin;
23     using vector_type::end;
24    
25 sf-pippijn 1.3 using vector_type::rbegin;
26     using vector_type::rend;
27    
28 sf-pippijn 1.2 using vector_type::empty;
29     using vector_type::size;
30    
31     using vector_type::at;
32     using vector_type::back;
33     using vector_type::front;
34    
35     using vector_type::push_back;
36    
37     using vector_type::erase;
38 sf-pippijn 1.1 };
39     }