SNAP Library, Developer Reference
2012-10-02 12:56:23
SNAP, a general purpose network analysis and graph mining library
|
#include <bd.h>
Public Types | |
typedef TRec | TObj |
Public Member Functions | |
TPt () | |
TPt (const TPt &Pt) | |
TPt (TRec *_Addr) | |
~TPt () | |
TPt (TSIn &SIn) | |
TPt (TSIn &SIn, void *ThisPt) | |
void | Save (TSOut &SOut) const |
void | LoadXml (const TPt< TXmlTok > &XmlTok, const TStr &Nm) |
void | SaveXml (TSOut &SOut, const TStr &Nm) const |
TPt & | operator= (const TPt &Pt) |
bool | operator== (const TPt &Pt) const |
bool | operator!= (const TPt &Pt) const |
bool | operator< (const TPt &Pt) const |
TRec * | operator-> () const |
TRec & | operator* () const |
TRec & | operator[] (const int &RecN) const |
TRec * | operator() () const |
bool | Empty () const |
void | Clr () |
int | GetRefs () const |
int | GetPrimHashCd () const |
int | GetSecHashCd () const |
TPt< TRec > | Clone () |
Static Public Member Functions | |
static TPt | New () |
Private Member Functions | |
void | MkRef () const |
void | UnRef () const |
Private Attributes | |
TRec * | Addr |
Definition at line 6 of file xmlser.h.
References TPt< TRec >::Addr, IsNull(), Load(), and TPt< TRec >::MkRef().
Definition at line 11 of file xmlser.h.
References TPt< TRec >::Addr, IsNull(), Load(), and TPt< TRec >::MkRef().
: Addr(NULL){TBool IsNull(SIn); if (!IsNull){TPt Pt=TRec::Load(SIn, ThisPt); Addr=Pt.Addr; MkRef();}}
Definition at line 499 of file bd.h.
Referenced by TUnicode::GetCodec(), and TFPathNotify::UpdateSOut().
Definition at line 498 of file bd.h.
Referenced by TFfGGen::AddNodes(), TUndirFFire::AddNodes(), TXmlObjSer::AssertXmlHd(), TFHash< TKey, TFDat, TVDat >::DelKey(), TPp::GetPp(), GetStr(), GetTagTok(), GetTagTokV(), IsSubTag(), IsTagTok(), LoadTxtElement(), New(), TStrHash< TDat, TStringPool, THashFunc >::operator=(), TLocClustStat::ParamStr(), TLocClustStat::PlotPhiInOut(), TStrHash< TDat, TStringPool, THashFunc >::SetPool(), THttpResp(), TStrHash< TDat, TStringPool, THashFunc >::TStrHash(), and TFPathNotify::UpdateSOut().
{return Addr==NULL;}
int TPt< TRec >::GetPrimHashCd | ( | ) | const [inline] |
int TPt< TRec >::GetSecHashCd | ( | ) | const [inline] |
Definition at line 21 of file xmlser.h.
References Addr, TXmlObjSer::GetBoolArg(), TPt< TRec >::MkRef(), and XLoadHd.
Referenced by IsXLoadFromFileOk(), and TVec< TVal >::LoadXml().
{ XLoadHd(Nm); bool NullP=TXmlObjSer::GetBoolArg(XmlTok, "Null"); if (NullP){ Addr=NULL; } else { Addr=new TRec(); MkRef(); Addr->LoadXml(XmlTok, "-"); } }
Definition at line 461 of file bd.h.
Referenced by TPt< TRec >::LoadXml(), TPt< TSIn >::operator=(), TPt< TSIn >::TPt(), and TPt< TRec >::TPt().
Definition at line 476 of file bd.h.
Referenced by TPt< TSIn >::New().
{return TObj::New();}
TRec* TPt< TRec >::operator() | ( | ) | const [inline] |
TRec& TPt< TRec >::operator* | ( | ) | const [inline] |
TRec* TPt< TRec >::operator-> | ( | ) | const [inline] |
TRec& TPt< TRec >::operator[] | ( | const int & | RecN | ) | const [inline] |
Definition at line 16 of file xmlser.h.
References Addr, and TBool::Save().
Referenced by TFHash< TKey, TFDat, TVDat >::AddKey(), TTimeNet::PlotMissingPast(), TStrHash< TDat, TStringPool, THashFunc >::Save(), and TTimeNENet::TimeGrowth().
Definition at line 33 of file xmlser.h.
References Addr, TBool::GetStr(), XSaveBETagArg, and XSaveHdArg.
{ if (Addr==NULL){ XSaveBETagArg(Nm, "Null", TBool::GetStr(true)); } else { XSaveHdArg(Nm, "Null", TBool::GetStr(false)); Addr->SaveXml(SOut, "-"); } }
Definition at line 466 of file bd.h.
Referenced by TPt< TSIn >::Clr(), TPt< TSIn >::operator=(), and TPt< TSIn >::~TPt().
Definition at line 460 of file bd.h.
Referenced by TPt< TSIn >::Clr(), TPt< TSIn >::Empty(), TPt< TSIn >::GetPrimHashCd(), TPt< TSIn >::GetRefs(), TPt< TSIn >::GetSecHashCd(), TPt< TSIn >::MkRef(), TPt< TSIn >::operator!=(), TPt< TSIn >::operator()(), TPt< TSIn >::operator*(), TPt< TSIn >::operator->(), TPt< TSIn >::operator<(), TPt< TSIn >::operator=(), TPt< TSIn >::operator==(), TPt< TSIn >::operator[](), TPt< TRec >::TPt(), and TPt< TSIn >::UnRef().