89 default :
return "unknown";
PRMObject(std::string_view name)
Constructor.
const std::string & name() const
Returns the name of this object.
bool operator==(const PRMObject &obj) const
To PRMObject are equal if they have the same name (which is unique).
prm_type
Enumeration of the different types of objects handled by a PRM.
bool operator!=(const PRMObject &obj) const
To PRMObject are equal if they have the same name (which is unique).
static std::string RIGHT_CAST()
Enumeration of the different types of objects handled by a PRM.
static INLINE bool isClass(const PRMObject &obj)
Returns true if obj_ptr is of type Class.
static std::string LEFT_CAST()
Enumeration of the different types of objects handled by a PRM.
virtual prm_type obj_type() const =0
Returns the type of this object.
static INLINE bool isInstance(const PRMObject &obj)
Returns true if obj_ptr is of type PRMInstance.
static INLINE bool isInterface(const PRMObject &obj)
Returns true if obj_ptr is of type PRMInterface.
static std::string enum2str(prm_type type)
Returns the string representation of a PRMObject.
namespace for all probabilistic relational models entities
gum is the global namespace for all aGrUM entities