Panda3D
Public Types | Public Member Functions | List of all members
pvector< Type > Class Template Reference

This is our own Panda specialization on the default STL vector. More...

#include "pvector.h"

Inheritance diagram for pvector< Type >:

Public Types

typedef pallocator_array< Type > allocator
 
typedef std::vector< Type, allocatorbase_class
 
typedef base_class::size_type size_type
 

Public Member Functions

 pvector (TypeHandle type_handle=pvector_type_handle)
 
 pvector (const pvector< Type > &copy)
 
 pvector (pvector< Type > &&from) noexcept
 
 pvector (size_type n, TypeHandle type_handle=pvector_type_handle)
 
 pvector (size_type n, const Type &value, TypeHandle type_handle=pvector_type_handle)
 
 pvector (const Type *begin, const Type *end, TypeHandle type_handle=pvector_type_handle)
 
pvector< Type > & operator= (const pvector< Type > &copy)
 
pvector< Type > & operator= (pvector< Type > &&from) noexcept
 

Detailed Description

template<class Type>
class pvector< Type >

This is our own Panda specialization on the default STL vector.

Its main purpose is to call the hooks for MemoryUsage to properly track STL- allocated memory.

Definition at line 42 of file pvector.h.


The documentation for this class was generated from the following file: