Jpp  15.0.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | List of all members
JLANG::JBinaryInput Class Referenceabstract

Interface for binary input. More...

#include <JBinaryIO.hh>

Inheritance diagram for JLANG::JBinaryInput:
JIO::JReader JLANG::JFile JIO::JBufferedReader JIO::JByteArrayReader JIO::JFileReader JIO::JStreamReader JNET::JSocket JIO::JFileStreamReader JNET::JSocketInputChannel< JPrefix_t > JIO::JBinaryFileReader< JPhotonPath > JIO::JBinaryFileReader< T > JNET::JClient JNET::JServerSocket JNET::JSocketBlocking JNET::JSocketNonblockingReader JNET::JSocketNonblockingWriter JNET::JUDPSocket

Public Member Functions

virtual ~JBinaryInput ()
 Virtual destructor. More...
 
virtual int read (char *buffer, const int length)=0
 Read byte array. More...
 

Detailed Description

Interface for binary input.

Definition at line 18 of file JBinaryIO.hh.

Constructor & Destructor Documentation

virtual JLANG::JBinaryInput::~JBinaryInput ( )
inlinevirtual

Virtual destructor.

Definition at line 23 of file JBinaryIO.hh.

24  {}

Member Function Documentation

virtual int JLANG::JBinaryInput::read ( char *  buffer,
const int  length 
)
pure virtual

Read byte array.

Parameters
bufferpointer to byte array
lengthnumber of bytes
Returns
number of bytes read

Implemented in JNET::JSocket, JIO::JByteArrayReader, JIO::JBufferedReader, JLANG::JFile, JIO::JStreamReader, JIO::JFileReader, and JNET::JSocketBlocking.


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