Blender  V3.3
Classes | Namespaces | Macros
BLI_vector_set_slots.hh File Reference
#include "BLI_sys_types.h"

Go to the source code of this file.

Classes

class  blender::SimpleVectorSetSlot< Key >
 
struct  blender::DefaultVectorSetSlot< Key >
 

Namespaces

 blender
 

Macros

#define s_is_empty   -1
 
#define s_is_removed   -2
 

Detailed Description

This file contains slot types that are supposed to be used with blender::VectorSet.

Every slot type has to be able to hold an integer index and state information. A vector set slot has three possible states: empty, occupied and removed.

A vector slot type has to implement a couple of methods that are explained in SimpleVectorSetSlot. A vector slot type is assumed to be trivially destructible, when it is in empty or removed state.

Possible Improvements:

Definition in file BLI_vector_set_slots.hh.

Macro Definition Documentation

◆ s_is_empty

#define s_is_empty   -1

Definition at line 35 of file BLI_vector_set_slots.hh.

◆ s_is_removed

#define s_is_removed   -2

Definition at line 36 of file BLI_vector_set_slots.hh.