1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/attributes.h"
54 typedef std::shared_ptr<Attributes>
Ptr;
55 typedef std::vector< std::pair< std::string, std::string> >
Enums;
Base class for all attribute changed notifications.
std::shared_ptr< Attribute > Ptr
std::shared_ptr< AttributeUndoableCommand > Ptr
Abstract base class for Attributes interface.
static bool hasObservers(const Path &path)
virtual UndoableCommand::Ptr removeAttributeCmd(const std::string &name)=0
virtual bool hasAttribute(const std::string &name) const =0
static std::size_t nbObservers(const SceneItem::Ptr &item)
virtual Attribute::Ptr addAttribute(const std::string &name, const Attribute::Type &type)
static bool hasObserver(const Observer::Ptr &obs)
virtual std::vector< std::string > attributeNames() const =0
virtual AddAttributeUndoableCommand::Ptr addAttributeCmd(const std::string &name, const Attribute::Type &type)=0
static bool removeObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
static bool addObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
virtual Enums getEnums(const std::string &attrName) const =0
virtual Attribute::Ptr attribute(const std::string &name)=0
std::vector< std::pair< std::string, std::string > > Enums
static Ptr attributes(const SceneItem::Ptr &item)
static bool addObserver(const Observer::Ptr &obs)
static bool hasObservers(Rtid runTimeId)
static std::size_t nbObservers()
Attributes(const Attributes &)=default
Default copy constructor.
virtual Attribute::Type attributeType(const std::string &name)=0
virtual SceneItem::Ptr sceneItem() const =0
static bool hasObserver(const SceneItem::Ptr &item, const Observer::Ptr &obs)
virtual Attribute::Ptr renameAttribute(const std::string &originalName, const std::string &newName)
virtual bool removeAttribute(const std::string &name)
std::shared_ptr< Attributes > Ptr
static bool removeObserver(const Observer::Ptr &obs)
virtual ~Attributes()
Destructor.
static void notify(const AttributeChanged ¬ification)
virtual RenameAttributeUndoableCommand::Ptr renameAttributeCmd(const std::string &originalName, const std::string &newName)=0
std::shared_ptr< Observer > Ptr
Identify an object or 3D path in the scene.
std::shared_ptr< SceneItem > Ptr
std::shared_ptr< UndoableCommand > Ptr
std::string string(const Path &path)
Path path(const std::string &pathString)
Definition of macros for symbol visibility.