7#ifndef __HDI_CORE_UID__
8#define __HDI_CORE_UID__
10#if defined(HDI_CORE_AIP_MODE)
62 UID(
const std::string& name_);
71 UID(
const AIUIDRef aiUID_);
141 virtual std::unique_ptr<Art>
art()
const;
150 virtual std::string
name()
const;
173 friend aip::UID* __accessImpl(
const UID&);
174 friend UID __accessCtor(
const aip::UID&);
186 UID(
const aip::UID&);
189 typedef std::unique_ptr<UID> UIDUP;
190 typedef std::shared_ptr<UID> UIDSP;
191 typedef std::weak_ptr<UID> UIDWP;
193 extern aip::UID* __accessImpl(
const UID&);
194 extern UID __accessCtor(
const aip::UID&);
Allows for easy UID acquisition, art access, etc.
Definition: hdicoreUID.h:32
UID(const std::string &name_)
Constructs a new UID object from a UID name.
void setName(const std::string &name_)
Sets the name of the target UID object.
virtual std::unique_ptr< Art > art() const
Gets an Art object for the target UID.
virtual bool operator==(const UID &rhs_) const
Tests whether a given UID object is the same as another.
UID(const UID &u_)
UID copy constructor.
UID()
Creates an empty UID object.
virtual bool operator!=(const UID &rhs_) const
Tests whether a given UID object is not the same as another.
virtual ~UID()
Destructs a UID object.
virtual UID & operator=(const UID &rhs_)
Overloaded assignment operator for UID objects.
virtual bool isEmpty() const
Gets whether the target UID object is empty (constructed with the default ctor)
virtual std::string name() const
Gets the unique name of the target UID object.
virtual AIUIDRef aiUIDRef() const
Gets the UID ref around which the target object is wrapped.
UID(const AIUIDRef aiUID_)
Constructs a new UID object from an AIUIDRef.
Header file for a wide variety of necessary typedefs, enums, and forwards declarations.