Changeset 1977 for trunk/lib


Ignore:
Timestamp:
Mar 27, 2012, 2:15:03 PM (7 years ago)
Author:
ksherdy
Message:

Added 'is_done' method to bit block scanner.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/bitblock_scan.hpp

    r1976 r1977  
    6969        }
    7070
     71        IDISA_ALWAYS_INLINE bool is_done() {return (-1==pos);}
     72        IDISA_ALWAYS_INLINE void set_strm(const bitblock_t * strm) {return this->strm = strm;}
    7173        IDISA_ALWAYS_INLINE const bitblock_t * get_strm() const {return this->strm;}
    7274        IDISA_ALWAYS_INLINE int32_t get_pos() const {return this->pos;}
     
    107109        }
    108110
     111        IDISA_ALWAYS_INLINE bool is_done() {return (-1==pos);}
     112        IDISA_ALWAYS_INLINE void set_strm(const bitblock_t * strm) {return this->strm = strm;}
    109113        IDISA_ALWAYS_INLINE const bitblock_t * get_strm() const {return this->strm;}
    110114        IDISA_ALWAYS_INLINE int32_t get_pos() const {return this->pos;}
Note: See TracChangeset for help on using the changeset viewer.