Go to the documentation of this file.
18 ObjectID(
const std::string& nameOrID);
42 std::string
str()
const;
79 std::string _className;
81 std::string _instanceName;
A known object ID of the form "Dataset/ClassName" or "Dataset/ClassName/InstanceName".
ObjectID withInstanceName(const std::string &instanceName) const
static ObjectID FromString(const std::string &idString)
Construct from a string produced by str(), e.g. ("mydataset/myobject", "mydataset/myclass/myinstance"...
ObjectID getClassID() const
Return just the class ID without an intance name.
std::string dataset() const
bool operator>=(const ObjectID &rhs) const
bool operator!=(const ObjectID &rhs) const
bool operator>(const ObjectID &rhs) const
std::string className() const
void setFromString(const std::string &idString)
bool equalClass(const ObjectID &rhs) const
Indicates whether dataset and class name are equal.
std::string instanceName() const
bool operator==(const ObjectID &rhs) const
Indicates whether dataset, class name and instance name are equal.
bool operator<(const ObjectID &rhs) const
std::ostream & operator<<(std::ostream &os, const PythonApplicationManager::Paths &paths)
bool operator<=(const ObjectID &rhs) const
This file offers overloads of toIce() and fromIce() functions for STL container types.
std::string str() const
Return "dataset/className" or "dataset/className/instanceName".
void setInstanceName(const std::string &instanceName)