![]() |
ufe
4.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Abstract base class for Attributes_v4_2 interface. More...
#include <attributes.h>
Public Types | |
typedef std::shared_ptr< Attributes_v4_2 > | Ptr |
typedef std::vector< std::pair< std::string, std::string > > | Enums |
![]() | |
typedef std::shared_ptr< Attributes > | Ptr |
Public Member Functions | |
~Attributes_v4_2 () override | |
Destructor. More... | |
virtual Enums | getEnums (const std::string &attrName) const =0 |
![]() | |
Attributes () | |
Constructor. More... | |
Attributes (const Attributes &)=default | |
Default copy constructor. More... | |
virtual | ~Attributes () |
Destructor. More... | |
virtual SceneItem::Ptr | sceneItem () const =0 |
virtual Attribute::Type | attributeType (const std::string &name)=0 |
virtual Attribute::Ptr | attribute (const std::string &name)=0 |
virtual std::vector< std::string > | attributeNames () const =0 |
virtual bool | hasAttribute (const std::string &name) const =0 |
virtual Attribute::Ptr | addAttribute (const std::string &name, const Attribute::Type &type) |
virtual AddAttributeUndoableCommand::Ptr | addAttributeCmd (const std::string &name, const Attribute::Type &type)=0 |
virtual bool | removeAttribute (const std::string &name) |
virtual UndoableCommand::Ptr | removeAttributeCmd (const std::string &name)=0 |
virtual Attribute::Ptr | renameAttribute (const std::string &originalName, const std::string &newName) |
virtual RenameAttributeUndoableCommand::Ptr | renameAttributeCmd (const std::string &originalName, const std::string &newName)=0 |
Additional Inherited Members | |
![]() | |
static Ptr | attributes (const SceneItem::Ptr &item) |
static bool | addObserver (const SceneItem::Ptr &item, const Observer::Ptr &obs) |
static bool | addObserver (const Observer::Ptr &obs) |
static bool | removeObserver (const SceneItem::Ptr &item, const Observer::Ptr &obs) |
static bool | removeObserver (const Observer::Ptr &obs) |
static std::size_t | nbObservers (const SceneItem::Ptr &item) |
static std::size_t | nbObservers () |
static bool | hasObserver (const SceneItem::Ptr &item, const Observer::Ptr &obs) |
static bool | hasObserver (const Observer::Ptr &obs) |
static bool | hasObservers (const Path &path) |
static bool | hasObservers (Rtid runTimeId) |
static void | notify (const AttributeChanged ¬ification) |
Abstract base class for Attributes_v4_2 interface.
This base class defines an interface for factory objects that runtimes can implement to create v4.2 attribute interface objects that support getting enums.
Definition at line 260 of file attributes.h.
typedef std::vector< std::pair< std::string, std::string> > Ufe::Attributes_v4_2::Enums |
Definition at line 264 of file attributes.h.
typedef std::shared_ptr<Attributes_v4_2> Ufe::Attributes_v4_2::Ptr |
Definition at line 263 of file attributes.h.
|
override |
Destructor.
|
pure virtual |
Gets the enums associated with the named attribute
attrName | The name of the attribute to return the enums for. |