SNAP Library , Developer Reference  2013-01-07 14:03:36
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TStdOut Class Reference

#include <fl.h>

Inheritance diagram for TStdOut:
Collaboration diagram for TStdOut:

List of all members.

Public Member Functions

 TStdOut ()
int PutCh (const char &Ch)
int PutBf (const void *LBf, const TSize &LBfL)
void Flush ()

Static Public Member Functions

static TPt< TSOutNew ()

Private Member Functions

 TStdOut (const TStdOut &)
TStdOutoperator= (const TStdOut &)

Detailed Description

Definition at line 258 of file fl.h.


Constructor & Destructor Documentation

TStdOut::TStdOut ( const TStdOut ) [private]

Definition at line 213 of file fl.cpp.

Referenced by New().

: TSBase(TSStr("Standard output")), TSOut("Standard output"){}

Here is the caller graph for this function:


Member Function Documentation

void TStdOut::Flush ( ) [inline, virtual]

Implements TSOut.

Definition at line 268 of file fl.h.

{fflush(stdout);}
static TPt<TSOut> TStdOut::New ( ) [inline, static]

Definition at line 264 of file fl.h.

References TStdOut().

{return new TStdOut();}

Here is the call graph for this function:

TStdOut& TStdOut::operator= ( const TStdOut ) [private]
int TStdOut::PutBf ( const void *  LBf,
const TSize LBfL 
) [virtual]

Implements TSOut.

Definition at line 226 of file fl.cpp.

References PutCh().

                                                    {
  int LBfS=0;
  for (TSize LBfC=0; LBfC<LBfL; LBfC++){
    LBfS+=PutCh(((char*)LBf)[LBfC]);}
  return LBfS;
}

Here is the call graph for this function:

int TStdOut::PutCh ( const char &  Ch) [inline, virtual]

Implements TSOut.

Definition at line 266 of file fl.h.

Referenced by PutBf().

{putchar(Ch); return Ch;}

Here is the caller graph for this function:


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