Definition at line 21 of file datamap.hpp.
Public Types | |
using | KeyName = std::string |
using | abiRefType = abiRefT< abiDataMap > |
Public Member Functions | |
GuardDataMap ()=default | |
template<typename... Args> | |
GuardDataMap (Args &&... args) | |
~GuardDataMap ()=default | |
bool | hasData (const KeyName &name) |
template<class T , _EnableIfValidIdType< T > = true> | |
ErrCode | setData (const KeyName &name, const T &value) |
template<class T > | |
ErrCode | setGuardData (const KeyName &name, const GuardDataT< T > &value) |
template<class T > | |
ErrCode | setRefData (const KeyName &name, const abiRefT< T > &value) |
template<class T > | |
ErrCode | setPtrData (const KeyName &name, ShrdPtr< T > value) |
template<class T > | |
ErrCode | setPtrData (const KeyName &name, UniqPtr< T > value) |
template<class T > | |
ErrCode | getPtrData (const KeyName &name, ShrdPtr< T > &value) |
template<class T > | |
ErrCode | getRefData (const KeyName &name, abiRefT< T > *&value) |
template<class T > | |
ErrCode | getGuardData (const KeyName &name, GuardDataT< T > &value) |
template<class T , _EnableIfValidIdType< T > = true> | |
ErrCode | getData (const KeyName &name, T &value) |
ErrCode | removeData (const KeyName &name) |
ErrCode | clear () |
ErrCode | copy (GuardDataMap input, DataMapPolicy policy=DataMapPolicy::kCopyPolicyNone, char *policyData=nullptr) |
ErrCode | copy (GuardDataMap input, const KeyName key, DataMapPolicy policy=DataMapPolicy::kCopyPolicyNone, char *policyData=nullptr) |
int32_t | getSize () |
void | printDebug () const |
GuardTy | cast () |
abiDataMap * | ptr () const |
abiDataMap * | operator-> () const |
operator bool () const | |
operator ShrdPtr< abiDataMap > () | |
abiRefT< abiDataMap > * | release () |
void | reset (abiRefT< abiDataMap > *abiref=nullptr) |
abiRefT< abiDataMap > * | abiRef () const |
|
inherited |
using ds3d::GuardDataMap::KeyName = std::string |
Definition at line 25 of file datamap.hpp.
|
default |
|
inline |
Definition at line 29 of file datamap.hpp.
|
default |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 76 of file datamap.hpp.
References ds3d::abiDataMap::clear_i(), DS_ASSERT, and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 88 of file datamap.hpp.
References ds3d::abiDataMap::copy_i(), DS_ASSERT, ds3d::GuardDataT< Tp >::ptr(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 81 of file datamap.hpp.
References ds3d::abiDataMap::copy_i(), DS_ASSERT, ds3d::GuardDataT< Tp >::ptr(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 211 of file datamap.hpp.
References ds3d::TpId< Tp >::__typeid(), ds3d::abiRefT< T >::data(), DS_ASSERT, ds3d::abiDataMap::getBuf_i(), ds3d::isGood(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 164 of file datamap.hpp.
References getRefData(), and ds3d::GuardRef< abiRefT< Tp > >::reset().
|
inline |
Definition at line 193 of file datamap.hpp.
References ds3d::TpId< Tp >::__typeid(), ds3d::abiRefT< T >::data(), DS_ASSERT, ds3d::abiDataMap::getBuf_i(), ds3d::isGood(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 174 of file datamap.hpp.
References ds3d::TpId< Tp >::__typeid(), ds3d::abiRefT< T >::data(), DS_ASSERT, ds3d::abiDataMap::getBuf_i(), ds3d::isGood(), and ds3d::GuardDataT< abiDataMap >::ptr().
Referenced by getGuardData().
|
inline |
Definition at line 97 of file datamap.hpp.
References DS_ASSERT, ds3d::abiDataMap::getSize_i(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inline |
Definition at line 35 of file datamap.hpp.
References DS_ASSERT, ds3d::abiDataMap::has_i(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inline |
Definition at line 103 of file datamap.hpp.
References DS_ASSERT, ds3d::abiDataMap::printDebug_i(), and ds3d::GuardDataT< abiDataMap >::ptr().
|
inlineinherited |
|
inlineinherited |
Definition at line 71 of file datamap.hpp.
References DS_ASSERT, ds3d::GuardDataT< abiDataMap >::ptr(), and ds3d::abiDataMap::removeBuf_i().
|
inlineinherited |
|
inline |
Definition at line 138 of file datamap.hpp.
References setPtrData().
|
inline |
Definition at line 112 of file datamap.hpp.
References ds3d::GuardRef< abiRefT< Tp > >::abiRef(), ds3d::kNullPtr, and setRefData().
|
inline |
Definition at line 148 of file datamap.hpp.
References ds3d::TpId< Tp >::__typeid(), ds3d::abiRefT< T >::data(), ds3d::abiRefObj::destroy(), DS_ASSERT, ds3d::isGood(), ds3d::GuardDataT< abiDataMap >::ptr(), and ds3d::abiDataMap::setBuf_i().
Referenced by setData(), and setPtrData().
|
inline |
Definition at line 54 of file datamap.hpp.
References setPtrData().
|
inline |
Definition at line 122 of file datamap.hpp.
References ds3d::TpId< Tp >::__typeid(), ds3d::abiRefT< T >::data(), ds3d::abiRefObj::destroy(), DS_ASSERT, ds3d::isGood(), ds3d::GuardDataT< abiDataMap >::ptr(), and ds3d::abiDataMap::setBuf_i().
Referenced by setGuardData().