NCBI C++ ToolKit
|
Search Toolkit Book for SLazyInitData
Public Member Functions | |
SLazyInitData (const SData &d) | |
SLazyInitData (const CJsonNode &j) | |
void | Check () |
Public Member Functions inherited from SData | |
SData () | |
SData (TLocation l, const string &ol, CJsonNode::TInstance li, Uint8 fs, CJsonNode::TInstance si) | |
Public Attributes | |
CJsonNode | json |
CTime | time |
Public Attributes inherited from SData | |
TLocation | location |
string | object_loc |
CJsonNode | object_loc_info |
Uint8 | file_size |
CJsonNode | st_info |
Private Member Functions | |
template<TLocation > | |
CTime | GetTime () |
void | InitData () |
void | InitExtra () |
void | InitJson () |
void | Clean () |
template<> | |
CTime | GetTime () |
template<> | |
CTime | GetTime () |
Private Attributes | |
bool | data_source |
bool | initialized |
Definition at line 64 of file netstorageobjectinfo.cpp.
Definition at line 69 of file netstorageobjectinfo.cpp.
References InitExtra().
Definition at line 77 of file netstorageobjectinfo.cpp.
References Clean().
|
inline |
Definition at line 85 of file netstorageobjectinfo.cpp.
References data_source, InitData(), initialized, and InitJson().
Referenced by SNetStorageObjectInfoImpl::Check().
|
private |
Definition at line 193 of file netstorageobjectinfo.cpp.
References CJsonNode::DeleteByKey(), and json.
Referenced by SLazyInitData().
|
private |
|
private |
Definition at line 127 of file netstorageobjectinfo.cpp.
References CTime::AsString(), CTimeException::eFormat, CJsonNode::GetByKeyOrNull(), CCoreException::GetErrCode(), SData::st_info, and CTime::ToLocalTime().
|
private |
Definition at line 152 of file netstorageobjectinfo.cpp.
References CJsonNode::GetByKeyOrNull(), and SData::st_info.
|
private |
Definition at line 165 of file netstorageobjectinfo.cpp.
References CJsonNode::AsString(), eNFL_FileTrack, eNFL_NetCache, eNFL_NotFound, eNFL_Unknown, SData::file_size, CJsonNode::GetByKey(), CJsonNode::GetByKeyOrNull(), CJsonNode::GetString(), InitExtra(), json, kEmptyStr, l(), SData::location, SData::object_loc, SData::object_loc_info, ncbi::grid::netcache::search::fields::size, and SData::st_info.
Referenced by Check().
|
private |
Definition at line 184 of file netstorageobjectinfo.cpp.
References eNFL_FileTrack, eNFL_NetCache, SData::location, and time.
Referenced by InitData(), and SLazyInitData().
|
private |
Definition at line 201 of file netstorageobjectinfo.cpp.
References eNFL_FileTrack, eNFL_NetCache, SData::file_size, json, SData::location, CJsonNode::NewObjectNode(), CJsonNode::NewStringNode(), SData::object_loc, SData::object_loc_info, CJsonNode::SetByKey(), CJsonNode::SetInteger(), CJsonNode::SetString(), and SData::st_info.
Referenced by Check().
|
private |
Definition at line 103 of file netstorageobjectinfo.cpp.
Referenced by Check().
|
private |
Definition at line 104 of file netstorageobjectinfo.cpp.
Referenced by Check().
CJsonNode SLazyInitData::json |
Definition at line 66 of file netstorageobjectinfo.cpp.
Referenced by Clean(), SNetStorageObjectInfoImpl::GetJSON(), InitData(), and InitJson().
CTime SLazyInitData::time |
Definition at line 67 of file netstorageobjectinfo.cpp.
Referenced by SNetStorageObjectInfoImpl::GetCreationTime(), and InitExtra().