Panda3D

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

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

`#include "pset.h"`

Inheritance diagram for pset< Key, Compare >:

## Public Types
typedef pallocator_single< Key > | allocator
typedef std::set< Key, Compare, allocator > | base_class

## Public Member Functions
| pset (const Compare &comp, TypeHandle type_handle=pset_type_handle)
| pset (TypeHandle type_handle=pset_type_handle)

## Detailed Description

template<class Key, class Compare = std::less<Key>>
class pset< Key, Compare >

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

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

Definition at line 49 of file pset.h.

## Member Typedef Documentation

## ◆ allocator

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

typedef pallocator_single<Key> pset< Key, Compare >::allocator

Definition at line 51 of file pset.h.

## ◆ base_class

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

typedef std::set<Key, Compare, allocator> pset< Key, Compare >::base_class

Definition at line 52 of file pset.h.

## Constructor & Destructor Documentation

## ◆ pset() [1/2]

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

pset< Key, Compare >::pset | ( | TypeHandle | type_handle = pset_type_handle | ) |
| inline

Definition at line 53 of file pset.h.

## ◆ pset() [2/2]

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

pset< Key, Compare >::pset | ( | const Compare & | comp,
|  | TypeHandle | type_handle = pset_type_handle )
| inline

Definition at line 54 of file pset.h.

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

- dtool/src/dtoolbase/pset.h