Panda3D
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
pmap< Key, Value, Compare > Class Template Reference

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

#include "pmap.h"

Inheritance diagram for pmap< Key, Value, Compare >:

Public Types

typedef pallocator_single< std::pair< const Key, Value > > allocator
 
typedef std::map< Key, Value, Compare, allocatorbase_class
 

Public Member Functions

 pmap (const Compare &comp, TypeHandle type_handle=pmap_type_handle)
 
 pmap (TypeHandle type_handle=pmap_type_handle)
 

Detailed Description

template<class Key, class Value, class Compare = std::less<Key>>
class pmap< Key, Value, Compare >

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

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

Definition at line 49 of file pmap.h.

Member Typedef Documentation

◆ allocator

template<class Key , class Value , class Compare = std::less<Key>>
typedef pallocator_single<std::pair<const Key, Value> > pmap< Key, Value, Compare >::allocator

Definition at line 51 of file pmap.h.

◆ base_class

template<class Key , class Value , class Compare = std::less<Key>>
typedef std::map<Key, Value, Compare, allocator> pmap< Key, Value, Compare >::base_class

Definition at line 52 of file pmap.h.

Constructor & Destructor Documentation

◆ pmap() [1/2]

template<class Key , class Value , class Compare = std::less<Key>>
pmap< Key, Value, Compare >::pmap ( TypeHandle type_handle = pmap_type_handle)
inline

Definition at line 54 of file pmap.h.

◆ pmap() [2/2]

template<class Key , class Value , class Compare = std::less<Key>>
pmap< Key, Value, Compare >::pmap ( const Compare & comp,
TypeHandle type_handle = pmap_type_handle )
inline

Definition at line 55 of file pmap.h.


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