irstlm/src/mfstream.h File Reference

#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <string.h>
#include <iostream>
#include <cstring>
#include <cstdlib>
#include <fstream>
#include <streambuf>
#include <cstdio>

Go to the source code of this file.

Classes

class  fdbuf
 File description for I/O stream buffer. More...
class  mfstream
 Extension of fstream to commands. More...

Functions

ssize_t write (int fd, const void *buf, size_t num)
ssize_t read (int fd, void *buf, size_t num)
FILE * popen (const char *command, const char *type)
int pclose (FILE *stream)
int fseek (FILE *stream, long offset, int whence)
long ftell (FILE *stream)


Function Documentation

int fseek ( FILE *  stream,
long  offset,
int  whence 
)

Referenced by ifwrite(), and mdiadaptlm::saveASR().

Here is the caller graph for this function:

long ftell ( FILE *  stream  ) 

Referenced by ifwrite(), and mdiadaptlm::saveASR().

Here is the caller graph for this function:

int pclose ( FILE *  stream  ) 

Referenced by mfstream::close(), and GetParams().

Here is the caller graph for this function:

FILE* popen ( const char *  command,
const char *  type 
)

Referenced by GetParams(), and mfstream::open().

Here is the caller graph for this function:

ssize_t read ( int  fd,
void *  buf,
size_t  num 
)

Referenced by Moses::LanguageModelRemote::GetValue(), mfstream::readx(), fdbuf::underflow(), and fdbuf::xsgetn().

Here is the caller graph for this function:

ssize_t write ( int  fd,
const void *  buf,
size_t  num 
)

Referenced by Moses::LanguageModelRemote::GetValue(), fdbuf::overflow(), mfstream::writex(), and fdbuf::xsputn().

Here is the caller graph for this function:


Generated on Fri Apr 15 13:04:15 2011 for Moses by  doxygen 1.5.9