SNAP Library, User Reference  2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
TSOut Class Reference

Inherits TSBase.

Inherited by TFOut, TMemOut, TMOut, TSInOut, TStdOut, and TZipOut.

List of all members.

Public Member Functions

 TSOut ()
 TSOut (const TStr &Str)
virtual ~TSOut ()
void EnableLnTrunc (const int &_MxLnLen)
void DisableLnTrunc ()
virtual int PutCh (const char &Ch)=0
virtual int PutBf (const void *LBf, const TSize &LBfL)=0
virtual void Flush ()=0
virtual TFileId GetFileId () const
int PutMem (const TMem &Mem)
int PutCh (const char &Ch, const int &Chs)
int PutBool (const bool &Bool)
int PutInt (const int &Int)
int PutInt (const int &Int, const char *FmtStr)
int PutUInt (const uint &Int)
int PutUInt (const uint &Int, const char *FmtStr)
int PutFlt (const double &Flt)
int PutFlt (const double &Flt, const char *FmtStr)
int PutStr (const char *CStr)
int PutStr (const TChA &ChA)
int PutStr (const TStr &Str, const char *FmtStr)
int PutStr (const TStr &Str, const bool &ForceInLn=false)
int PutStrLn (const TStr &Str, const bool &ForceInLn=false)
int PutStrFmt (const char *FmtStr,...)
int PutStrFmtLn (const char *FmtStr,...)
int PutIndent (const int &IndentLev=1)
int PutLn (const int &Lns=1)
int PutDosLn (const int &Lns=1)
int PutSep (const int &NextStrLen=0)
int PutSepLn (const int &Lns=0)
void SaveCs ()
void SaveBf (const void *Bf, const TSize &BfL)
void Save (const bool &Bool)
void Save (const char &Ch)
void Save (const uchar &UCh)
void Save (const short &Short)
void Save (const ushort &UShort)
void Save (const int &Int)
void Save (const uint &UInt)
void Save (const int64 &Int)
void Save (const uint64 &UInt)
void Save (const double &Flt)
void Save (const sdouble &SFlt)
void Save (const ldouble &LFlt)
void Save (const char *CStr, const TSize &CStrLen)
void Save (const char *CStr)
void Save (TSIn &SIn, const TSize &BfL=-1)
void Save (const PSIn &SIn, const TSize &BfL=-1)
void Save (const void *Bf, const TSize &BfL)
TSOut & operator<< (const bool &Bool)
TSOut & operator<< (const uchar &UCh)
TSOut & operator<< (const char &Ch)
TSOut & operator<< (const short &Sh)
TSOut & operator<< (const ushort &USh)
TSOut & operator<< (const int &Int)
TSOut & operator<< (const uint &Int)
TSOut & operator<< (const int64 &Int)
TSOut & operator<< (const uint64 &UInt)
TSOut & operator<< (const float &Flt)
TSOut & operator<< (const double &Double)
TSOut & operator<< (const long double &LDouble)
TSOut & operator<< (const TSOutMnp &Mnp)
TSOut & operator<< (TSOut &(*FuncPt)(TSOut &))
TSOut & operator<< (TSIn &SIn)
TSOut & operator<< (PSIn &SIn)

Static Public Attributes

static const TPt< TSOut > StdOut = PSOut(new TStdOut())

Friends

class TPt< TSOut >

Constructor & Destructor Documentation

TSOut::TSOut ( ) [inline]
TSOut::TSOut ( const TStr &  Str)
virtual TSOut::~TSOut ( ) [inline, virtual]

Member Function Documentation

void TSOut::DisableLnTrunc ( ) [inline]
void TSOut::EnableLnTrunc ( const int &  _MxLnLen) [inline]
virtual void TSOut::Flush ( ) [pure virtual]

Implemented in TMOut, TFInOut, TFOut, TStdOut, TMemOut, and TZipOut.

virtual TFileId TSOut::GetFileId ( ) const [inline, virtual]

Reimplemented in TFInOut, and TFOut.

TSOut& TSOut::operator<< ( const bool &  Bool) [inline]
TSOut& TSOut::operator<< ( const uchar &  UCh) [inline]
TSOut& TSOut::operator<< ( const char &  Ch) [inline]
TSOut& TSOut::operator<< ( const short &  Sh) [inline]
TSOut& TSOut::operator<< ( const ushort &  USh) [inline]
TSOut& TSOut::operator<< ( const int &  Int) [inline]
TSOut& TSOut::operator<< ( const uint &  Int) [inline]
TSOut& TSOut::operator<< ( const int64 &  Int) [inline]
TSOut& TSOut::operator<< ( const uint64 &  UInt) [inline]
TSOut& TSOut::operator<< ( const float &  Flt) [inline]
TSOut& TSOut::operator<< ( const double &  Double) [inline]
TSOut& TSOut::operator<< ( const long double &  LDouble) [inline]
TSOut& TSOut::operator<< ( const TSOutMnp &  Mnp) [inline]
TSOut& TSOut::operator<< ( TSOut &(*)(TSOut &)  FuncPt) [inline]
TSOut & TSOut::operator<< ( TSIn &  SIn)
TSOut& TSOut::operator<< ( PSIn &  SIn) [inline]
virtual int TSOut::PutBf ( const void *  LBf,
const TSize &  LBfL 
) [pure virtual]

Implemented in TMOut, TFInOut, TFOut, TStdOut, TMemOut, and TZipOut.

int TSOut::PutBool ( const bool &  Bool)
virtual int TSOut::PutCh ( const char &  Ch) [pure virtual]

Implemented in TMOut, TFInOut, TFOut, TStdOut, TMemOut, and TZipOut.

int TSOut::PutCh ( const char &  Ch,
const int &  Chs 
)
int TSOut::PutDosLn ( const int &  Lns = 1)
int TSOut::PutFlt ( const double &  Flt)
int TSOut::PutFlt ( const double &  Flt,
const char *  FmtStr 
)
int TSOut::PutIndent ( const int &  IndentLev = 1)
int TSOut::PutInt ( const int &  Int)
int TSOut::PutInt ( const int &  Int,
const char *  FmtStr 
)
int TSOut::PutLn ( const int &  Lns = 1)
int TSOut::PutMem ( const TMem &  Mem)
int TSOut::PutSep ( const int &  NextStrLen = 0)
int TSOut::PutSepLn ( const int &  Lns = 0)
int TSOut::PutStr ( const char *  CStr)
int TSOut::PutStr ( const TChA &  ChA)
int TSOut::PutStr ( const TStr &  Str,
const char *  FmtStr 
)
int TSOut::PutStr ( const TStr &  Str,
const bool &  ForceInLn = false 
)
int TSOut::PutStrFmt ( const char *  FmtStr,
  ... 
)
int TSOut::PutStrFmtLn ( const char *  FmtStr,
  ... 
)
int TSOut::PutStrLn ( const TStr &  Str,
const bool &  ForceInLn = false 
) [inline]
int TSOut::PutUInt ( const uint &  Int)
int TSOut::PutUInt ( const uint &  Int,
const char *  FmtStr 
)
void TSOut::Save ( const bool &  Bool) [inline]
void TSOut::Save ( const char &  Ch) [inline]
void TSOut::Save ( const uchar &  UCh) [inline]
void TSOut::Save ( const short &  Short) [inline]
void TSOut::Save ( const ushort &  UShort) [inline]
void TSOut::Save ( const int &  Int) [inline]
void TSOut::Save ( const uint &  UInt) [inline]
void TSOut::Save ( const int64 &  Int) [inline]
void TSOut::Save ( const uint64 &  UInt) [inline]
void TSOut::Save ( const double &  Flt) [inline]
void TSOut::Save ( const sdouble &  SFlt) [inline]
void TSOut::Save ( const ldouble &  LFlt) [inline]
void TSOut::Save ( const char *  CStr,
const TSize &  CStrLen 
) [inline]
void TSOut::Save ( const char *  CStr)
void TSOut::Save ( TSIn &  SIn,
const TSize &  BfL = -1 
)
void TSOut::Save ( const PSIn &  SIn,
const TSize &  BfL = -1 
) [inline]
void TSOut::Save ( const void *  Bf,
const TSize &  BfL 
) [inline]
void TSOut::SaveBf ( const void *  Bf,
const TSize &  BfL 
) [inline]
void TSOut::SaveCs ( ) [inline]

Friends And Related Function Documentation

friend class TPt< TSOut > [friend]

Member Data Documentation

const PSOut TSOut::StdOut = PSOut(new TStdOut()) [static]

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