SNAP Library 4.0, User Reference  2017-07-27 13:18:06
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
TSInOut Class Referenceabstract

#include <fl.h>

Inherits TSIn, and TSOut.

Inherited by TFInOut.

Public Member Functions

 TSInOut ()
virtual ~TSInOut ()
virtual void SetPos (const int &Pos)=0
virtual void MovePos (const int &DPos)=0
virtual int GetPos () const =0
virtual int GetSize () const =0
virtual void Clr ()=0
- Public Member Functions inherited from TSIn
 TSIn ()
 TSIn (const TStr &Str)
virtual ~TSIn ()
virtual bool Eof ()=0
virtual int Len () const =0
virtual char GetCh ()=0
virtual char PeekCh ()=0
virtual int GetBf (const void *Bf, const TSize &BfL)=0
virtual bool GetNextLnBf (TChA &LnChA)=0
virtual void Reset ()
bool IsFastMode () const
void SetFastMode (const bool &_FastMode)
virtual void LoadCs ()
void LoadBf (const void *Bf, const TSize &BfL)
void * LoadNewBf (const int &BfL)
void Load (bool &Bool)
void Load (uchar &UCh)
void Load (char &Ch)
void Load (short &Short)
void Load (ushort &UShort)
void Load (int &Int)
void Load (uint &UInt)
void Load (int64 &Int)
void Load (uint64 &UInt)
void Load (double &Flt)
void Load (sdouble &SFlt)
void Load (ldouble &LFlt)
void Load (char *&CStr, const int &MxCStrLen, const int &CStrLen)
void Load (char *&CStr)
TSInoperator>> (bool &Bool)
TSInoperator>> (uchar &UCh)
TSInoperator>> (char &Ch)
TSInoperator>> (short &Sh)
TSInoperator>> (ushort &USh)
TSInoperator>> (int &Int)
TSInoperator>> (uint &UInt)
TSInoperator>> (int64 &Int)
TSInoperator>> (uint64 &UInt)
TSInoperator>> (float &Flt)
TSInoperator>> (double &Double)
TSInoperator>> (long double &LDouble)
bool GetNextLn (TStr &LnStr)
bool GetNextLn (TChA &LnChA)
- Public Member Functions inherited from TSBase
 TSBase (const TSStr &Nm)
virtual ~TSBase ()
virtual TStr GetSNm () const
- Public Member Functions inherited from TSOut
 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)
TSOutoperator<< (const bool &Bool)
TSOutoperator<< (const uchar &UCh)
TSOutoperator<< (const char &Ch)
TSOutoperator<< (const short &Sh)
TSOutoperator<< (const ushort &USh)
TSOutoperator<< (const int &Int)
TSOutoperator<< (const uint &Int)
TSOutoperator<< (const int64 &Int)
TSOutoperator<< (const uint64 &UInt)
TSOutoperator<< (const float &Flt)
TSOutoperator<< (const double &Double)
TSOutoperator<< (const long double &LDouble)
TSOutoperator<< (const TSOutMnp &Mnp)
TSOutoperator<< (TSOut &(*FuncPt)(TSOut &))
TSOutoperator<< (TSIn &SIn)
TSOutoperator<< (PSIn &SIn)

Private Member Functions

 TSInOut (const TSInOut &)
TSInOutoperator= (const TSInOut &)


class TPt< TSInOut >

Additional Inherited Members

- Static Public Attributes inherited from TSIn
static const TPt< TSInStdIn =PSIn(new TStdIn())
- Static Public Attributes inherited from TSOut
static const TPt< TSOutStdOut =PSOut(new TStdOut())
- Protected Attributes inherited from TSBase
TCRef CRef
TCs Cs

Detailed Description

Definition at line 220 of file fl.h.

Constructor & Destructor Documentation

TSInOut::TSInOut ( const TSInOut )
TSInOut::TSInOut ( )

Definition at line 225 of file fl.h.

225 : TSBase("Input-Output-Stream"), TSIn(), TSOut() {}
TSBase(const TSStr &Nm)
Definition: fl.h:50
Definition: fl.h:65
Definition: fl.h:136
virtual TSInOut::~TSInOut ( )

Definition at line 226 of file fl.h.

226 {}

Member Function Documentation

virtual void TSInOut::Clr ( )
pure virtual

Implemented in TFInOut.

virtual int TSInOut::GetPos ( ) const
pure virtual

Implemented in TFInOut.

virtual int TSInOut::GetSize ( ) const
pure virtual

Implemented in TFInOut.

virtual void TSInOut::MovePos ( const int &  DPos)
pure virtual

Implemented in TFInOut.

TSInOut& TSInOut::operator= ( const TSInOut )
virtual void TSInOut::SetPos ( const int &  Pos)
pure virtual

Implemented in TFInOut.

Friends And Related Function Documentation

friend class TPt< TSInOut >

Definition at line 234 of file fl.h.

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