NCBI C++ ToolKit
Public Member Functions | Public Attributes | Private Member Functions | Private Attributes | List of all members
SLazyInitData Struct Reference

Search Toolkit Book for SLazyInitData

+ Inheritance diagram for SLazyInitData:
+ Collaboration diagram 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
 

Detailed Description

Definition at line 64 of file netstorageobjectinfo.cpp.

Constructor & Destructor Documentation

◆ SLazyInitData() [1/2]

SLazyInitData::SLazyInitData ( const SData d)
inline

Definition at line 69 of file netstorageobjectinfo.cpp.

References InitExtra().

◆ SLazyInitData() [2/2]

SLazyInitData::SLazyInitData ( const CJsonNode j)
inline

Definition at line 77 of file netstorageobjectinfo.cpp.

References Clean().

Member Function Documentation

◆ Check()

void SLazyInitData::Check ( void  )
inline

Definition at line 85 of file netstorageobjectinfo.cpp.

References data_source, InitData(), initialized, and InitJson().

Referenced by SNetStorageObjectInfoImpl::Check().

◆ Clean()

void SLazyInitData::Clean ( )
private

Definition at line 193 of file netstorageobjectinfo.cpp.

References CJsonNode::DeleteByKey(), and json.

Referenced by SLazyInitData().

◆ GetTime() [1/3]

template<TLocation >
CTime SLazyInitData::GetTime ( )
private

◆ GetTime() [2/3]

template<>
CTime SLazyInitData::GetTime ( void  )
private

◆ GetTime() [3/3]

template<>
CTime SLazyInitData::GetTime ( void  )
private

Definition at line 152 of file netstorageobjectinfo.cpp.

References CJsonNode::GetByKeyOrNull(), and SData::st_info.

◆ InitData()

void SLazyInitData::InitData ( )
private

◆ InitExtra()

void SLazyInitData::InitExtra ( )
private

Definition at line 184 of file netstorageobjectinfo.cpp.

References eNFL_FileTrack, eNFL_NetCache, SData::location, and time.

Referenced by InitData(), and SLazyInitData().

◆ InitJson()

void SLazyInitData::InitJson ( )
private

Member Data Documentation

◆ data_source

bool SLazyInitData::data_source
private

Definition at line 103 of file netstorageobjectinfo.cpp.

Referenced by Check().

◆ initialized

bool SLazyInitData::initialized
private

Definition at line 104 of file netstorageobjectinfo.cpp.

Referenced by Check().

◆ json

CJsonNode SLazyInitData::json

◆ time

CTime SLazyInitData::time

The documentation for this struct was generated from the following file:
Modified on Fri Sep 20 14:57:22 2024 by modify_doxy.py rev. 669887