Jpp  16.0.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | List of all members
JLANG::JNullStream Class Reference

Streaming of input. More...

#include <JNullStream.hh>

Inheritance diagram for JLANG::JNullStream:
JLANG::JNullStreamBuffer

Public Member Functions

 JNullStream ()
 Default constructor. More...
 
void close ()
 Close stream. More...
 

Protected Types

typedef std::streambuf::traits_type traits
 
typedef traits::int_type int_type
 
typedef std::streamsize streamsize
 

Protected Member Functions

virtual int_type underflow ()
 Check underflow. More...
 
virtual int_type overflow (int_type c)
 Check overflow. More...
 

Static Protected Member Functions

static const JNullStreamBuffergetInstance ()
 Get reference to unique instance of this class object. More...
 

Detailed Description

Streaming of input.

Definition at line 23 of file JNullStream.hh.

Member Typedef Documentation

typedef std::streambuf::traits_type JLANG::JNullStreamBuffer::traits
inherited

Definition at line 27 of file JNullStreamBuffer.hh.

typedef traits::int_type JLANG::JNullStreamBuffer::int_type
inherited

Definition at line 28 of file JNullStreamBuffer.hh.

typedef std::streamsize JLANG::JNullStreamBuffer::streamsize
inherited

Definition at line 29 of file JNullStreamBuffer.hh.

Constructor & Destructor Documentation

JLANG::JNullStream::JNullStream ( )
inline

Default constructor.

Definition at line 32 of file JNullStream.hh.

32  :
34  std::istream(this),
35  std::ostream(this)
36  {}
JNullStreamBuffer()
Default constructor.

Member Function Documentation

void JLANG::JNullStream::close ( )
inline

Close stream.

This method does nothing.

Definition at line 43 of file JNullStream.hh.

44  {}
static const JNullStreamBuffer& JLANG::JNullStreamBuffer::getInstance ( )
inlinestaticinherited

Get reference to unique instance of this class object.

Returns
reference to this class object

Definition at line 44 of file JNullStreamBuffer.hh.

45  {
46  static const JNullStreamBuffer null;
47 
48  return null;
49  }
static JNullStream null
Null I/O stream.
Definition: JNullStream.hh:51
Null stream buffer.
virtual int_type JLANG::JNullStreamBuffer::underflow ( )
inlinevirtualinherited

Check underflow.

This method reads nothing.

Returns
0

Definition at line 58 of file JNullStreamBuffer.hh.

59  {
60  return EOF;
61  }
virtual int_type JLANG::JNullStreamBuffer::overflow ( int_type  c)
inlinevirtualinherited

Check overflow.

This method writes nothing.

Parameters
ccharacter
Returns
c

Definition at line 71 of file JNullStreamBuffer.hh.

72  {
73  return c;
74  }
$WORKDIR ev_configure_domsimulator txt echo process $DOM_SIMULATOR $i $SOURCE_HOST[$index] csh c(setenv ROOTSYS $ROOTSYS &&source $JPP_DIR/setenv.csh $JPP_DIR &&($DOM_SIMULATOR\-u\$NAME\$\-H\$SERVER\$\-M\$LOGGER\$\-d $DEBUG</dev/null > &/dev/null &))'

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