Loading...
Searching...
No Matches
pyIndexList.h
Go to the documentation of this file.
// -*- Mode: C++; tab-width: 2; -*-
// vi: set ts=2:
//
// $Id: pyIndexList.h,v 1.2 2005/12/23 17:01:57 amoll Exp $
//
#ifndef BALL_PYTHON_PYINDEXLIST_H
#define BALL_PYTHON_PYINDEXLIST_H
#ifndef BALL_COMMON_H
# include <BALL/common.h>
#endif
#ifndef BALL_DATAYPE_STRING_H
# include <BALL/DATATYPE/string.h>
#endif
namespace BALL
{
class PyIndexList
: public std::list<Index>
{
public:
BALL_CREATE(PyIndexList)
typedef Index ValueType;
typedef Index PointerType;
typedef std::list<Index>::iterator Iterator;
typedef std::list<Index>::const_iterator ConstIterator;
PyIndexList();
PyIndexList(const PyIndexList& new_list);
PyIndexList(const std::vector<Index>& indices);
PyIndexList(const std::list<Index>& fragment);
PyIndexList(const std::vector<Position>& indices);
PyIndexList(const std::list<Position>& fragment);
virtual ~PyIndexList() throw();
PyIndexList& operator = (const std::list<Index>& idx_list);
PyIndexList& operator = (const std::list<Position>& idx_list);
PyIndexList& operator = (const std::vector<Index>& idx_list);
PyIndexList& operator = (const std::vector<Position>& idx_list);
};
} // namespace BALL
#endif // BALL_PYTHON_PYINDEXLIST_H
BALL::PyIndexList::ValueType
Index ValueType
Definition pyIndexList.h:38
BALL::PyIndexList::PointerType
Index PointerType
Definition pyIndexList.h:42
BALL::PyIndexList::ConstIterator
std::list< Index >::const_iterator ConstIterator
Definition pyIndexList.h:50
BALL::PyIndexList::PyIndexList
PyIndexList()
BALL::PyIndexList::Iterator
std::list< Index >::iterator Iterator
Definition pyIndexList.h:46
common.h
BALL_CREATE
#define BALL_CREATE(name)
Definition create.h:62
BALL
Definition constants.h:13
BALL::Position
BALL_SIZE_TYPE Position
Definition COMMON/global.h:140
BALL::Index
BALL_INDEX_TYPE Index
Definition COMMON/global.h:105
std
STL namespace.
string.h