#include <indexmapbidi.h>
Definition at line 42 of file indexmapbidi.h.
 
◆ ~IndexMap()
  
  
      
        
          | tesseract::IndexMap::~IndexMap  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtualdefault   | 
  
 
 
◆ CompactSize()
  
  
      
        
          | int tesseract::IndexMap::CompactSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 61 of file indexmapbidi.h.
GenericVector< int32_t > compact_map_
 
 
 
 
◆ CompactToSparse()
  
  
      
        
          | int tesseract::IndexMap::CompactToSparse  | 
          ( | 
          int  | 
          compact_index | ) | 
           const | 
         
       
   | 
  
inline   | 
  
 
Definition at line 53 of file indexmapbidi.h.
GenericVector< int32_t > compact_map_
 
 
 
 
◆ CopyFrom() [1/2]
      
        
          | void tesseract::IndexMap::CopyFrom  | 
          ( | 
          const IndexMap &  | 
          src | ) | 
           | 
        
      
 
 
◆ CopyFrom() [2/2]
      
        
          | void tesseract::IndexMap::CopyFrom  | 
          ( | 
          const IndexMapBiDi &  | 
          src | ) | 
           | 
        
      
 
 
◆ DeSerialize()
      
        
          | bool tesseract::IndexMap::DeSerialize  | 
          ( | 
          bool  | 
          swap,  | 
        
        
           | 
           | 
          FILE *  | 
          fp  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
Definition at line 54 of file indexmapbidi.cpp.
   58     ReverseN(&sparse_size, 
sizeof(sparse_size));
    60   if (sparse_size > UINT16_MAX) 
return false;
 
GenericVector< int32_t > compact_map_
 
bool DeSerialize(bool swap, FILE *fp)
 
void ReverseN(void *ptr, int num_bytes)
 
bool DeSerialize(FILE *fp, char *data, size_t n)
 
 
 
 
◆ Serialize()
      
        
          | bool tesseract::IndexMap::Serialize  | 
          ( | 
          FILE *  | 
          fp | ) | 
           const | 
        
      
 
Definition at line 48 of file indexmapbidi.cpp.
GenericVector< int32_t > compact_map_
 
bool Serialize(FILE *fp, const char *data, size_t n)
 
bool Serialize(FILE *fp) const
 
 
 
 
◆ SparseSize()
  
  
      
        
          | virtual int tesseract::IndexMap::SparseSize  | 
          ( | 
           | ) | 
           const | 
         
       
   | 
  
inlinevirtual   | 
  
 
 
◆ SparseToCompact()
  
  
      
        
          | int tesseract::IndexMap::SparseToCompact  | 
          ( | 
          int  | 
          sparse_index | ) | 
           const | 
         
       
   | 
  
virtual   | 
  
 
 
◆ compact_map_
◆ sparse_size_
  
  
      
        
          | int32_t tesseract::IndexMap::sparse_size_ | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: