Panda3D
Loading...
Searching...
No Matches
Classes | Macros | Typedefs | Functions
bitMask.h File Reference

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...

#include "pandabase.h"
#include "pbitops.h"
#include "numeric_types.h"
#include "typedObject.h"
#include "indent.h"
#include "pnotify.h"
#include "checksumHashGenerator.h"
#include "bitMask.I"

Go to the source code of this file.

Classes

class  BitMask< WType, nbits >
 A general bitmask class. More...
 

Macros

#define BITMASK16_DEF   BitMask<uint16_t, 16>
 
#define BITMASK32_DEF   BitMask<uint32_t, 32>
 
#define BITMASK64_DEF   BitMask<uint64_t, 64>
 

Typedefs

typedef BitMask< uint16_t, 16 > BitMask16
 
typedef BitMask< uint32_t, 32 > BitMask32
 
typedef BitMask< uint64_t, 64 > BitMask64
 

Functions

 EXPORT_TEMPLATE_CLASS (EXPCL_PANDA_PUTIL, EXPTP_PANDA_PUTIL, BitMask< uint16_t, 16 >)
 
 EXPORT_TEMPLATE_CLASS (EXPCL_PANDA_PUTIL, EXPTP_PANDA_PUTIL, BitMask< uint32_t, 32 >)
 
 EXPORT_TEMPLATE_CLASS (EXPCL_PANDA_PUTIL, EXPTP_PANDA_PUTIL, BitMask< uint64_t, 64 >)
 
template<class WType , int nbits>
std::ostream & operator<< (std::ostream &out, const BitMask< WType, nbits > &bitmask)
 

Detailed Description

PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.

All rights reserved.

All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."

Author
drose
Date
2000-06-08

Definition in file bitMask.h.

Macro Definition Documentation

◆ BITMASK16_DEF

#define BITMASK16_DEF   BitMask<uint16_t, 16>

Definition at line 157 of file bitMask.h.

◆ BITMASK32_DEF

#define BITMASK32_DEF   BitMask<uint32_t, 32>

Definition at line 158 of file bitMask.h.

◆ BITMASK64_DEF

#define BITMASK64_DEF   BitMask<uint64_t, 64>

Definition at line 159 of file bitMask.h.

Typedef Documentation

◆ BitMask16

typedef BitMask<uint16_t, 16> BitMask16

Definition at line 164 of file bitMask.h.

◆ BitMask32

typedef BitMask<uint32_t, 32> BitMask32

Definition at line 165 of file bitMask.h.

◆ BitMask64

typedef BitMask<uint64_t, 64> BitMask64

Definition at line 166 of file bitMask.h.

Function Documentation

◆ operator<<()

template<class WType , int nbits>
std::ostream & operator<< ( std::ostream & out,
const BitMask< WType, nbits > & bitmask )
inline

Definition at line 150 of file bitMask.h.