NCBI C++ ToolKit
|
Classes | |
class | CCache_blob_Base |
CCache_blob_Base –. More... | |
Typedefs | |
typedef CSerialObject | CCache_blob_Base::Tparent |
typedef int | CCache_blob_Base::TMagic |
typedef int | CCache_blob_Base::TTimestamp |
typedef vector< char > | CCache_blob_Base::TBlob |
typedef vector< char > | CCache_blob_Base::TMd5_digest |
typedef Tparent::CMemberIndex< E_memberIndex, 5 > | CCache_blob_Base::TmemberIndex |
Enumerations | |
enum class | CCache_blob_Base::E_memberIndex { CCache_blob_Base::e__allMandatory = 0 , CCache_blob_Base::e_magic , CCache_blob_Base::e_timestamp , CCache_blob_Base::e_blob , CCache_blob_Base::e_md5_digest } |
Variables | |
Uint4 | CCache_blob_Base::m_set_State [1] |
int | CCache_blob_Base::m_Magic |
int | CCache_blob_Base::m_Timestamp |
vector< char > | CCache_blob_Base::m_Blob |
vector< char > | CCache_blob_Base::m_Md5_digest |
typedef vector< char > CCache_blob_Base::TBlob |
Definition at line 87 of file Cache_blob_.hpp.
typedef int CCache_blob_Base::TMagic |
Definition at line 85 of file Cache_blob_.hpp.
typedef vector< char > CCache_blob_Base::TMd5_digest |
Definition at line 88 of file Cache_blob_.hpp.
Definition at line 98 of file Cache_blob_.hpp.
|
private |
Definition at line 74 of file Cache_blob_.hpp.
typedef int CCache_blob_Base::TTimestamp |
Definition at line 86 of file Cache_blob_.hpp.
|
strong |
Enumerator | |
---|---|
e__allMandatory | |
e_magic | |
e_timestamp | |
e_blob | |
e_md5_digest |
Definition at line 91 of file Cache_blob_.hpp.
|
inline |
Check if it is safe to call GetBlob method.
Definition at line 366 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetBlob().
Referenced by CCache_blob_Base::GetBlob().
|
inline |
Check if it is safe to call GetMagic method.
Definition at line 272 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetMagic().
Referenced by CCache_blob_Base::GetMagic().
|
inline |
Check if it is safe to call GetMd5_digest method.
Definition at line 394 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetMd5_digest().
Referenced by CCache_blob_Base::GetMd5_digest().
|
inline |
Check if it is safe to call GetTimestamp method.
Definition at line 319 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetTimestamp().
Referenced by CCache_blob_Base::GetTimestamp().
|
private |
END_CLASS_INFO CCache_blob_Base::CCache_blob_Base | ( | void | ) |
Definition at line 84 of file Cache_blob_.cpp.
References CCache_blob_Base::m_set_State.
CCache_blob_Base::DECLARE_INTERNAL_TYPE_INFO | ( | ) |
|
inline |
Get the Blob member data.
Definition at line 372 of file Cache_blob_.hpp.
References CCache_blob_Base::CanGetBlob(), CCache_blob_Base::m_Blob, and CSerialObject::ThrowUnassigned().
Referenced by CCache_blob::UnPack().
|
inline |
Get the Magic member data.
Definition at line 285 of file Cache_blob_.hpp.
References CCache_blob_Base::CanGetMagic(), CCache_blob_Base::m_Magic, and CSerialObject::ThrowUnassigned().
|
inline |
Get the Md5_digest member data.
Definition at line 400 of file Cache_blob_.hpp.
References CCache_blob_Base::CanGetMd5_digest(), CCache_blob_Base::m_Md5_digest, and CSerialObject::ThrowUnassigned().
|
inline |
Get the Timestamp member data.
Definition at line 332 of file Cache_blob_.hpp.
References CCache_blob_Base::CanGetTimestamp(), CCache_blob_Base::m_Timestamp, and CSerialObject::ThrowUnassigned().
Referenced by SBlobCopier::operator()().
|
inline |
Check if a value has been assigned to Blob data member.
Data member Blob is mandatory; its type is defined as 'typedef vector< char > TBlob'
Definition at line 360 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::CanGetBlob().
|
inline |
Check if a value has been assigned to Magic data member.
Data member Magic is mandatory; its type is defined as 'typedef int TMagic'
Definition at line 266 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::CanGetMagic(), and CCache_blob_Base::SetMagic().
|
inline |
Check if a value has been assigned to Md5_digest data member.
Data member Md5_digest is mandatory; its type is defined as 'typedef vector< char > TMd5_digest'
Definition at line 388 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::CanGetMd5_digest().
|
inline |
Check if a value has been assigned to Timestamp data member.
Data member Timestamp is mandatory; its type is defined as 'typedef int TTimestamp'
Definition at line 313 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::CanGetTimestamp(), and CCache_blob_Base::SetTimestamp().
|
private |
|
virtual |
Reset the whole object.
Definition at line 62 of file Cache_blob_.cpp.
References CCache_blob_Base::ResetBlob(), CCache_blob_Base::ResetMagic(), CCache_blob_Base::ResetMd5_digest(), and CCache_blob_Base::ResetTimestamp().
void CCache_blob_Base::ResetBlob | ( | void | ) |
Reset Blob data member.
Definition at line 50 of file Cache_blob_.cpp.
References CCache_blob_Base::m_Blob, and CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::Reset().
|
inline |
Reset Magic data member.
Definition at line 278 of file Cache_blob_.hpp.
References CCache_blob_Base::m_Magic, and CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::Reset().
void CCache_blob_Base::ResetMd5_digest | ( | void | ) |
Reset Md5_digest data member.
Definition at line 56 of file Cache_blob_.cpp.
References CCache_blob_Base::m_Md5_digest, and CCache_blob_Base::m_set_State.
Referenced by CCache_blob_Base::Reset().
|
inline |
Reset Timestamp data member.
Definition at line 325 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State, and CCache_blob_Base::m_Timestamp.
Referenced by CCache_blob_Base::Reset().
|
inline |
Assign a value to Blob data member.
Definition at line 381 of file Cache_blob_.hpp.
References CCache_blob_Base::m_Blob, and CCache_blob_Base::m_set_State.
Referenced by CCache_blob::Pack().
|
inline |
Assign a value to Magic data member.
value | Value to assign |
Definition at line 294 of file Cache_blob_.hpp.
References CCache_blob_Base::m_Magic, CCache_blob_Base::m_set_State, and rapidjson::value.
|
inline |
Assign a value to Magic data member.
Definition at line 301 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetMagic(), CCache_blob_Base::m_Magic, CCache_blob_Base::m_set_State, and CSerialObject::UnassignedByte().
Referenced by CCache_blob::Pack().
|
inline |
Assign a value to Md5_digest data member.
Definition at line 409 of file Cache_blob_.hpp.
References CCache_blob_Base::m_Md5_digest, and CCache_blob_Base::m_set_State.
Referenced by CCache_blob::Pack().
|
inline |
Assign a value to Timestamp data member.
value | Value to assign |
Definition at line 341 of file Cache_blob_.hpp.
References CCache_blob_Base::m_set_State, CCache_blob_Base::m_Timestamp, and rapidjson::value.
Referenced by CPrimeCacheApplication::CCacheBioseq::operator()(), SBlobInserter::operator()(), SBlobCopier::operator()(), CPrimeCacheApplication::x_CacheSeqEntry(), CPrimeCacheApplication::x_Process_Fasta(), and CPrimeCacheApplication::x_Process_Ids().
|
inline |
Assign a value to Timestamp data member.
Definition at line 348 of file Cache_blob_.hpp.
References CCache_blob_Base::IsSetTimestamp(), CCache_blob_Base::m_set_State, CCache_blob_Base::m_Timestamp, and CSerialObject::UnassignedByte().
|
virtual |
Definition at line 91 of file Cache_blob_.cpp.
|
private |
Definition at line 252 of file Cache_blob_.hpp.
Referenced by CCache_blob_Base::GetBlob(), CCache_blob_Base::ResetBlob(), and CCache_blob_Base::SetBlob().
|
private |
Definition at line 250 of file Cache_blob_.hpp.
Referenced by CCache_blob_Base::GetMagic(), CCache_blob_Base::ResetMagic(), and CCache_blob_Base::SetMagic().
|
private |
Definition at line 253 of file Cache_blob_.hpp.
Referenced by CCache_blob_Base::GetMd5_digest(), CCache_blob_Base::ResetMd5_digest(), and CCache_blob_Base::SetMd5_digest().
|
private |
Definition at line 249 of file Cache_blob_.hpp.
Referenced by CCache_blob_Base::CCache_blob_Base(), CCache_blob_Base::IsSetBlob(), CCache_blob_Base::IsSetMagic(), CCache_blob_Base::IsSetMd5_digest(), CCache_blob_Base::IsSetTimestamp(), CCache_blob_Base::ResetBlob(), CCache_blob_Base::ResetMagic(), CCache_blob_Base::ResetMd5_digest(), CCache_blob_Base::ResetTimestamp(), CCache_blob_Base::SetBlob(), CCache_blob_Base::SetMagic(), CCache_blob_Base::SetMd5_digest(), and CCache_blob_Base::SetTimestamp().
|
private |
Definition at line 251 of file Cache_blob_.hpp.
Referenced by CCache_blob_Base::GetTimestamp(), CCache_blob_Base::ResetTimestamp(), and CCache_blob_Base::SetTimestamp().