Main Page   Namespace List   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   Related Pages  

bitstreamelement.h

00001 
00006 #ifndef BITSTREAMELEMENT_H
00007 #define BITSTREAMELEMENT_H
00008 
00009 #include <iostream>
00010 #include "a52a.h"
00011 
00012 class BITSTREAM_ELEMENT {
00013     private:
00014         UINT len;
00015         
00016     public:
00017       // Constructors ...
00018         BITSTREAM_ELEMENT() { len = 0; }
00019         BITSTREAM_ELEMENT(const UINT x) { len = x; }
00020         
00021       // Interface ...
00022         UINT get() const { return len; }
00023         void set(const UINT x) { len = x; }
00024         
00025       // Operators ...
00026         #ifndef NDEBUG
00027         friend ostream& operator<<(ostream&, BITSTREAM_ELEMENT&);
00028         #endif        
00029         
00030         BITSTREAM_ELEMENT& operator=(const BITSTREAM_ELEMENT& x) { len = x.len; return *this; }
00031         
00032       // Methods ...
00033         
00034     };
00035     
00036 #endif
00037 
00038 
00039 
00040 
00041 
00042 
00043 
00044         
00045 

Generated on Sat Sep 25 14:06:36 2004 for ac3 by doxygen1.2.18