48 lines
1.3 KiB
Plaintext
48 lines
1.3 KiB
Plaintext
// Filename: list
|
|
// Created by: drose (12May00)
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
//
|
|
// PANDA 3D SOFTWARE
|
|
// Copyright (c) 2001, Disney Enterprises, Inc. All rights reserved
|
|
//
|
|
// All use of this software is subject to the terms of the Panda 3d
|
|
// Software license. You should have received a copy of this license
|
|
// along with this source code; you will also find a current copy of
|
|
// the license at http://www.panda3d.org/license.txt .
|
|
//
|
|
// To contact the maintainers of this program write to
|
|
// panda3d@yahoogroups.com .
|
|
//
|
|
////////////////////////////////////////////////////////////////////
|
|
|
|
// This file, and all the other files in this directory, aren't
|
|
// intended to be compiled--they're just parsed by CPPParser (and
|
|
// interrogate) in lieu of the actual system headers, to generate the
|
|
// interrogate database.
|
|
|
|
#ifndef LIST_H
|
|
#define LIST_H
|
|
|
|
#include <stdtypedefs.h>
|
|
|
|
template<class element>
|
|
class list {
|
|
public:
|
|
typedef element value_type;
|
|
|
|
typedef element *pointer;
|
|
typedef const element *const_pointer;
|
|
typedef element &reference;
|
|
typedef const element &const_reference;
|
|
|
|
class iterator;
|
|
class const_iterator;
|
|
class reverse_iterator;
|
|
class const_reverse_iterator;
|
|
typedef size_t size_type;
|
|
class difference_type;
|
|
};
|
|
|
|
#endif
|