18static_assert(std::is_nothrow_move_constructible<DataHeaderCnv_p6>::value);
26 if( obj_idx == INT32_MIN )
return true;
30 unsigned long long oid2 = 0;
36 db_idx = full_el.
dbIdx;
41 if( form.
sizeDb() > db_idx ) {
46 if( form.
sizeObj() > (
size_t)obj_idx ) {
62 if (!std::ranges::is_sorted (trans->
m_alias)) {
64 std::ranges::sort (trans->
m_alias);
65 auto ret = std::ranges::unique (trans->
m_alias);
66 trans->
m_alias.erase (ret.begin(), ret.end());
70 return form.
sizeDb() > db_idx and form.
sizeObj() > (size_t)obj_idx;
76 const Token* dhToken )
const
83 bool sameForm =
false;
100 persToElem( pers, i++, &elem, form, sameForm );
102 if (i == nelts - selfRefSizeCorrection)
break;
105 persToElem( pers, i++, &elem, form, sameForm );
108 if (selfRefSizeCorrection > 0) {
111 persToElem( pers, i++, &elem, form, sameForm );
113 if( elem.getToken()->contID().find(
"DataHeader") == std::string::npos ) {
137 unsigned db_idx = form.
insertDb( db_rec );
143 unsigned long long oid2 = token->
oid().second;
183 const std::string& key,
const std::string& tokstr,
This class provides a token that identifies in a unique way objects on the persistent storage.
Token & setCont(const std::string &cnt)
Set container name.
Token & setDb(const Guid &db)
Set database name.
const std::string & contID() const
Access container identifier.
const Guid & classID() const
Access database identifier.
Token & setClassID(const Guid &cl_id)
Access database identifier.
virtual const std::string toString() const
Retrieve the string representation of the token.
int technology() const
Access technology type.
Token & setOid(const OID_t &oid)
Set object identifier.
Token & setTechnology(int t)
Set technology type.
const OID_t & oid() const
Access object identifier.
Token & fromString(const std::string_view from)
Build from the string representation of a token.
const Guid & dbID() const
Access database identifier.