jstrings  1
A tool for finding JIS-based character strings in binary streams
Public Member Functions | Protected Attributes | List of all members
jis_enc Class Referenceabstract

Abstract class for JIS based encoding classes. More...

#include <jis_enc.h>

Inheritance diagram for jis_enc:
shift_jis

Public Member Functions

 jis_enc (std::istream *instream)
 
virtual std::vector< found_string > * find ()=0
 Performs the search of the data stream.
 
void set_min_len (size_t min_len)
 Setter for min_len.
 
size_t get_min_len ()
 Getter for min_len.
 
void set_is_big_endian (bool is_big_endian)
 Setter for is_big_endian.
 
bool get_is_big_endian ()
 Getter for is_big_endian.
 
void set_use_jisx0213 (bool use_jisx0213)
 Setter for use_jisx0213.
 
bool get_use_jisx0213 ()
 Getter for use_jisx0213.
 

Protected Attributes

std::istream * instream
 
size_t min_len = 10
 Minimum number of characters to match to count as a found string.
 
bool is_big_endian = true
 Determines byte order for multibyte characters.
 
bool use_jisx0213 = false
 Use the JIS X 0213 character set instead of JIS X 0208.
 

Detailed Description

Abstract class for JIS based encoding classes.


The documentation for this class was generated from the following files: