Blender  V2.59
Classes | Enumerations
CTR_TaggedIndex.h File Reference
#include <functional>
#include "MEM_sys_types.h"

Go to the source code of this file.

Classes

class  CTR_TaggedIndex< tag_shift, index_mask >
struct  CTR_TaggedIndex< tag_shift, index_mask >::greater

Enumerations

enum  { empty_tag = 0x0, empty_index = 0xffffffff }

Detailed Description

Definition in file CTR_TaggedIndex.h.


Enumeration Type Documentation

anonymous enum
Id:
CTR_TaggedIndex.h 36860 2011-05-24 11:19:11Z blendix

Copyright (C) 2001 NaN Technologies B.V. Simple tagged index class. This class is supposed to be a simple tagged index class. If these were indices into a mesh then we would never need 32 bits for such indices. It is often handy to have a few extra bits around to mark objects etc. We steal a few bits of CTR_TaggedIndex objects for this purpose. From the outside it will behave like a standard unsigned int but just carry the extra tag information around with it.

Enumerator:
empty_tag 
empty_index 

Definition at line 57 of file CTR_TaggedIndex.h.