SLIOStream implementation for reading from memory.  
 More...
#include <SLIOMemory.h>
SLIOStream implementation for reading from memory. 
Definition at line 27 of file SLIOMemory.h.
 
◆ SLIOReaderMemory()
      
        
          | SLIOReaderMemory::SLIOReaderMemory  | 
          ( | 
          std::string  | 
          path | ) | 
           | 
        
      
 
 
◆ read()
  
  
      
        
          | size_t SLIOReaderMemory::read  | 
          ( | 
          void *  | 
          buffer,  | 
         
        
           | 
           | 
          size_t  | 
          size  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
Reimplemented from SLIOStream.
Definition at line 44 of file SLIOMemory.cpp.
   47     std::memcpy(buffer, memoryFile.data(), 
size);
 
std::unordered_map< std::string, std::vector< char > > memoryFiles
 
 
 
 
◆ seek()
  
  
      
        
          | bool SLIOReaderMemory::seek  | 
          ( | 
          size_t  | 
          offset,  | 
         
        
           | 
           | 
          Origin  | 
          origin  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
virtual   | 
  
 
 
◆ size()
  
  
      
        
          | size_t SLIOReaderMemory::size  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ tell()
  
  
      
        
          | size_t SLIOReaderMemory::tell  | 
          ( | 
           | ) | 
           | 
         
       
   | 
  
virtual   | 
  
 
 
◆ _path
  
  
      
        
          | std::string SLIOReaderMemory::_path | 
         
       
   | 
  
protected   | 
  
 
 
◆ _position
  
  
      
        
          | size_t SLIOReaderMemory::_position | 
         
       
   | 
  
protected   | 
  
 
 
The documentation for this class was generated from the following files: