BALL
1.4.2
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
include
BALL
PYTHON
pyIndexList.h
Go to the documentation of this file.
1
// -*- Mode: C++; tab-width: 2; -*-
2
// vi: set ts=2:
3
//
4
// $Id: pyIndexList.h,v 1.2 2005/12/23 17:01:57 amoll Exp $
5
//
6
7
#ifndef BALL_PYTHON_PYINDEXLIST_H
8
#define BALL_PYTHON_PYINDEXLIST_H
9
10
#ifndef BALL_COMMON_H
11
# include <
BALL/common.h
>
12
#endif
13
14
#ifndef BALL_DATAYPE_STRING_H
15
# include <
BALL/DATATYPE/string.h
>
16
#endif
17
18
namespace
BALL
19
{
25
class
PyIndexList
26
:
public
std::list<Index>
27
{
28
public
:
29
30
BALL_CREATE
(
PyIndexList
)
31
32
35
38
typedef
Index
ValueType
;
39
42
typedef
Index
PointerType
;
43
46
typedef std::list<
Index
>::iterator
Iterator
;
47
50
typedef std::list<
Index
>::const_iterator
ConstIterator
;
51
53
56
60
PyIndexList
();
61
63
PyIndexList
(const
PyIndexList
& new_list);
64
69
PyIndexList
(const std::vector<
Index
>& indices);
70
75
PyIndexList
(const std::list<
Index
>& fragment);
76
81
PyIndexList
(const std::vector<
Position
>& indices);
82
87
PyIndexList
(const std::list<
Position
>& fragment);
88
91
virtual ~
PyIndexList
() throw();
93
97
99
PyIndexList
& operator = (const std::list<
Index
>& idx_list);
101
PyIndexList
& operator = (const std::list<
Position
>& idx_list);
103
PyIndexList
& operator = (const std::vector<
Index
>& idx_list);
105
PyIndexList
& operator = (const std::vector<
Position
>& idx_list);
107
};
108
109
}
// namespace BALL
110
111
#endif // BALL_PYTHON_PYINDEXLIST_H
Generated by
1.8.3.1