28 #include "../dataaccess/query_h.h" 37 assert(
m_id.empty() ==
false);
44 assert(
id.empty() ==
false);
const std::string & getId() const
It returns the feature identification value.
OidType m_oidType
May be one of: GmlObjectId, FeatureId, ObjectId, RecordId.
ObjectId(const char *id, OidType oidType)
It initializes a new ObjectId.
OidType
The type of object identification used.
An object identifier is meant to represent a unique identifier for an object instance within the cont...
ObjectId * clone() const
It creates a new copy of this object.
OidType getOidType() const
It returns the format type used by the feature identification value.
std::string m_id
The id in a string format.
void setOidType(OidType t)
It sets the format type used by the feature identification value.
void setId(const std::string &id)
It sets the feature identification value.