PPL Logo

_CkOStream Class Reference

#include <ckstream.h>

Inheritance diagram for _CkOStream:

Inheritance graph
[legend]
Collaboration diagram for _CkOStream:

Collaboration graph
[legend]

Public Member Functions

 _CkOStream (bool isErr=false)
_CkOStreamendl (void)
_CkOStreamoperator<< (_CkOStream &(*f)(_CkOStream &))
 _OPSHIFTLEFT (int,"%d")
 _OPSHIFTLEFT (unsigned int,"%u")
 _OPSHIFTLEFT (short,"%hd")
 _OPSHIFTLEFT (unsigned short,"%hu")
 _OPSHIFTLEFT (long,"%ld")
 _OPSHIFTLEFT (unsigned long,"%lu")
 _OPSHIFTLEFT (long long,"%lld")
 _OPSHIFTLEFT (unsigned long long,"%llu")
 _OPSHIFTLEFT (char,"%c")
 _OPSHIFTLEFT (unsigned char,"%u")
 _OPSHIFTLEFT (float,"%f")
 _OPSHIFTLEFT (double,"%f")
 _OPSHIFTLEFT (void *,"%p")
_CkOStreamoperator<< (const char *str)

Private Member Functions

void output (const char *str)

Private Attributes

bool _isErr
size_t _buflen
size_t _actlen
char _obuf [BUF_MAXLEN]
char _tbuf [TBUF_MAXLEN]

Detailed Description

Definition at line 15 of file ckstream.h.


Constructor & Destructor Documentation

_CkOStream::_CkOStream ( bool  isErr = false  )  [inline]

Definition at line 29 of file ckstream.h.

References _actlen, _buflen, _isErr, and _obuf.


Member Function Documentation

void _CkOStream::output ( const char *  str  )  [inline, private]

Definition at line 21 of file ckstream.h.

References _actlen, _buflen, _obuf, and CmiAbort().

Referenced by operator<<().

Here is the call graph for this function:

Here is the caller graph for this function:

_CkOStream& _CkOStream::endl ( void   )  [inline]

Definition at line 35 of file ckstream.h.

References _actlen, _isErr, and _obuf.

Referenced by endl().

Here is the caller graph for this function:

_CkOStream& _CkOStream::operator<< ( _CkOStream &(*)(_CkOStream &)  f  )  [inline]

Definition at line 46 of file ckstream.h.

_CkOStream::_OPSHIFTLEFT ( int  ,
"%d"   
)

_CkOStream::_OPSHIFTLEFT ( unsigned  int,
"%u"   
)

_CkOStream::_OPSHIFTLEFT ( short  ,
"%hd"   
)

_CkOStream::_OPSHIFTLEFT ( unsigned  short,
"%hu"   
)

_CkOStream::_OPSHIFTLEFT ( long  ,
"%ld"   
)

_CkOStream::_OPSHIFTLEFT ( unsigned  long,
"%lu"   
)

_CkOStream::_OPSHIFTLEFT ( long  long,
"%lld"   
)

_CkOStream::_OPSHIFTLEFT ( unsigned long  long,
"%llu"   
)

_CkOStream::_OPSHIFTLEFT ( char  ,
"%c"   
)

_CkOStream::_OPSHIFTLEFT ( unsigned  char,
"%u"   
)

_CkOStream::_OPSHIFTLEFT ( float  ,
"%f"   
)

_CkOStream::_OPSHIFTLEFT ( double  ,
"%f"   
)

_CkOStream::_OPSHIFTLEFT ( void *  ,
"%p"   
)

_CkOStream& _CkOStream::operator<< ( const char *  str  )  [inline]

Definition at line 74 of file ckstream.h.

References output().

Here is the call graph for this function:


Field Documentation

Definition at line 17 of file ckstream.h.

Referenced by _CkOStream(), and endl().

Definition at line 18 of file ckstream.h.

Referenced by _CkOStream(), and output().

Definition at line 18 of file ckstream.h.

Referenced by _CkOStream(), endl(), and output().

char _CkOStream::_obuf[BUF_MAXLEN] [private]

Definition at line 19 of file ckstream.h.

Referenced by _CkOStream(), endl(), and output().

char _CkOStream::_tbuf[TBUF_MAXLEN] [private]

Definition at line 20 of file ckstream.h.


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

Generated on Mon Sep 21 08:17:04 2020 for Charm++ by  doxygen 1.5.5