"L. Spiro Engine"

F:/My Projects/LSEngine/Modules/LSCompressionLib/Src/BitStream/LSCBitStream.h

00001 
00016 #ifndef __LSC_BITSTREAM_H__
00017 #define __LSC_BITSTREAM_H__
00018 
00019 #include "../LSCCompressionLib.h"
00020 #include "Allocator/LSTLAllocator.h"
00021 #include "Streams/LSSTDBitStream.h"
00022 
00023 namespace lsc {
00024 
00031         class CBitStream : public lsstd::CBitStream {
00032         public :
00033                 // == Various constructors.
00034                 LSE_CALL                                                                CBitStream();
00035                 LSE_CALL                                                                ~CBitStream();
00036 
00037 
00038                 // == Functions.
00045                 LSVOID LSE_CALL                                                 SetAllocator( CAllocator * _paAllocator );
00046 
00052                 CAllocator * LSE_CALL                                   GetAllocator();
00053 
00054 
00055         protected :
00056                 // == Members.
00060                 CAllocator *                                                    m_paAllocator;
00061 
00062 
00063                 // == Functions.
00071                 virtual LSVOID * LSE_CALL                               ReAlloc( LSVOID * _pvOriginal, LSUINT32 _ui32Total ) const;
00072 
00078                 virtual LSVOID LSE_CALL                                 Free( LSVOID * _pvOriginal ) const;
00079 
00080 
00081         private :
00082                 typedef lsstd::CBitStream                               Parent;
00083         };
00084 
00085 }       // namespace lsc
00086 
00087 #endif  // __LSC_BITSTREAM_H__
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator