CMS 3D CMS Logo

lat::BitPattern< T, Pat, Width, N > Struct Template Reference

Construct a repetitive bit pattern. More...

#include <Iguana/Utilities/classlib/utils/BitPattern.h>

List of all members.

Public Types

enum  { Pattern = BitPatternHelp<N>::template PatWrapper<T, Pat, Pattern = BitPatternHelp<N>::template PatWrapper<T }


Detailed Description

template<class T, unsigned int Pat, unsigned int Width, unsigned int N>
struct lat::BitPattern< T, Pat, Width, N >

Construct a repetitive bit pattern.

Builds up a bit pattern be repeating the basic pattern Pat of Width bits wide to be N bits wide; N must be an integral multiple of Width. The building is done by progressively smaller patterns with template specialisations to terminate the trivial cases.

Definition at line 61 of file BitPattern.h.


Member Enumeration Documentation

template<class T, unsigned int Pat, unsigned int Width, unsigned int N>
anonymous enum

Enumerator:
Pattern 
Pat 
Pattern 

Definition at line 63 of file BitPattern.h.

00063 { Pattern = BitPatternHelp<N>::template PatWrapper<T,Pat,Width>::Pattern };


The documentation for this struct was generated from the following file:
Generated on Tue Jun 9 18:48:22 2009 for CMSSW by  doxygen 1.5.4