Gemmi C++ API
Loading...
Searching...
No Matches
Public Member Functions | List of all members
gemmi::MemoryStream Struct Reference

#include <input.hpp>

Public Member Functions

 MemoryStream (const char *start_, size_t size)
 
chargets (char *line, int size)
 
int getc ()
 
bool read (void *buf, size_t len)
 
std::string read_rest ()
 
int seek (std::ptrdiff_t offset)
 

Detailed Description

Definition at line 57 of file input.hpp.

Constructor & Destructor Documentation

◆ MemoryStream()

gemmi::MemoryStream::MemoryStream ( const char start_,
size_t  size 
)
inline

Definition at line 58 of file input.hpp.

Member Function Documentation

◆ gets()

char * gemmi::MemoryStream::gets ( char line,
int  size 
)
inline

Definition at line 61 of file input.hpp.

◆ getc()

int gemmi::MemoryStream::getc ( )
inline

Definition at line 74 of file input.hpp.

◆ read()

bool gemmi::MemoryStream::read ( void buf,
size_t  len 
)
inline

Definition at line 76 of file input.hpp.

◆ read_rest()

std::string gemmi::MemoryStream::read_rest ( )
inline

Definition at line 84 of file input.hpp.

◆ seek()

int gemmi::MemoryStream::seek ( std::ptrdiff_t  offset)
inline

Definition at line 90 of file input.hpp.


The documentation for this struct was generated from the following file: