SNAP Library 2.2, Developer Reference
2014-03-11 19:15:55
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
|
#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, and TPt< TRec >::MkRef().
Definition at line 11 of file xmlser.h.
References TPt< TRec >::Addr, and TPt< TRec >::MkRef().
: Addr(NULL){TBool IsNull(SIn); if (!IsNull){TPt Pt=TRec::Load(SIn, ThisPt); Addr=Pt.Addr; MkRef();}}
Definition at line 502 of file bd.h.
Referenced by TUnicode::GetCodec(), and TFPathNotify::UpdateSOut().
Definition at line 501 of file bd.h.
Referenced by TFfGGen::AddNodes(), TUndirFFire::AddNodes(), TXmlObjSer::AssertXmlHd(), TFHash< TKey, TFDat, TVDat >::DelKey(), TLxChDef::GetChDef(), THtmlLxChDef::GetChDef(), THtmlLxChDef::GetChDefRef(), TPp::GetPp(), TXmlTok::GetTagTok(), TXmlTok::GetTagTokV(), TXmlDoc::GetTagTokV(), TExpVal::GetUndefExpVal(), TExpVal::GetZeroExpVal(), TXmlTok::IsSubTag(), TXmlTok::IsTagTok(), TXmlDoc::IsTagTok(), TGnuPlot::LoadTs(), TXmlDoc::LoadTxtElement(), TXmlTok::New(), TNotify::OnLn(), TNotify::OnNotify(), TNotify::OnStatus(), TNotify::OnTxt(), TStrHash< TDat, TStringPool, THashFunc >::operator=(), TLocClustStat::ParamStr(), TLocClustStat::PlotPhiInOut(), TStrHash< TDat, TStringPool, THashFunc >::SetPool(), TExp::TExp(), THttpResp::THttpResp(), TStrHash< TDat, TStringPool, THashFunc >::TStrHash(), and TFPathNotify::UpdateSOut().
{ return Addr==NULL;}
int TPt< TRec >::GetPrimHashCd | ( | ) | const [inline] |
Definition at line 506 of file bd.h.
Referenced by TBigStrPool::GetPrimHashCd().
{return Addr->GetPrimHashCd();}
int TPt< TRec >::GetSecHashCd | ( | ) | const [inline] |
Definition at line 507 of file bd.h.
Referenced by TBigStrPool::GetSecHashCd().
{return Addr->GetSecHashCd();}
Definition at line 21 of file xmlser.h.
References TPt< TRec >::Addr, TXmlObjSer::GetBoolArg(), TPt< TRec >::MkRef(), and XLoadHd.
Referenced by IsXLoadFromFileOk(), and TVec< TVal, TSizeTy >::LoadXml().
{ XLoadHd(Nm); bool NullP=TXmlObjSer::GetBoolArg(XmlTok, "Null"); if (NullP){ Addr=NULL; } else { Addr=new TRec(); MkRef(); Addr->LoadXml(XmlTok, "-"); } }
Definition at line 464 of file bd.h.
Referenced by TPt< TRec >::LoadXml(), TPt< TFRnd >::operator=(), TPt< TFRnd >::TPt(), and TPt< TRec >::TPt().
Definition at line 479 of file bd.h.
Referenced by TFfGGen::AddNodes(), TUndirFFire::AddNodes(), TFfGGen::GenGraph(), TSnap::GenPrefAttach(), and TPt< TFRnd >::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 TPt< TRec >::Addr, and TBool::Save().
Referenced by TFHash< TKey, TFDat, TVDat >::AddKey(), TFHashKey< TKey, TFDat, TVDat >::OnDelFromCache(), TTimeNet::PlotMissingPast(), TExpHelpObj::Save(), TStrHash< TDat, TStringPool, THashFunc >::Save(), and TTimeNENet::TimeGrowth().
Definition at line 33 of file xmlser.h.
References TPt< TRec >::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 469 of file bd.h.
Referenced by TPt< TFRnd >::Clr(), TPt< TFRnd >::operator=(), and TPt< TFRnd >::~TPt().
Definition at line 463 of file bd.h.
Referenced by TPt< TFRnd >::Clr(), TPt< TFRnd >::Empty(), TPt< TFRnd >::GetPrimHashCd(), TPt< TFRnd >::GetRefs(), TPt< TFRnd >::GetSecHashCd(), TPt< TRec >::LoadXml(), TPt< TFRnd >::MkRef(), TPt< TFRnd >::operator!=(), TPt< TFRnd >::operator()(), TPt< TFRnd >::operator*(), TPt< TFRnd >::operator->(), TPt< TFRnd >::operator<(), TPt< TFRnd >::operator=(), TPt< TFRnd >::operator==(), TPt< TFRnd >::operator[](), TPt< TRec >::Save(), TPt< TRec >::SaveXml(), TPt< TRec >::TPt(), and TPt< TFRnd >::UnRef().