ufe 6.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
Ufe::AttributeMetadataChanged Class Reference

Attribute metadata changed notification. More...

#include <attributesNotification.h>

Inheritance diagram for Ufe::AttributeMetadataChanged:
Collaboration diagram for Ufe::AttributeMetadataChanged:

Public Member Functions

 AttributeMetadataChanged (const Path &path, const std::string &name, const std::string &key)
 
 AttributeMetadataChanged (const Path &path, const std::string &name, const std::set< std::string > &keys)
 
 AttributeMetadataChanged (const AttributeMetadataChanged &)=default
 Default copy constructor. More...
 
 ~AttributeMetadataChanged () override
 Destructor. More...
 
bool has (const std::string &key) const
 
const std::set< std::string > & keys () const
 
- Public Member Functions inherited from Ufe::AttributeChanged
 AttributeChanged (const Path &path, const std::string &name)
 
 AttributeChanged (const AttributeChanged &)=default
 Default copy constructor. More...
 
 ~AttributeChanged () override
 Destructor. More...
 
const Pathpath () const
 
const std::string & name () const
 
- Public Member Functions inherited from Ufe::Notification
 Notification ()
 Constructor. More...
 
 Notification (const Notification &)=default
 Default copy constructor. More...
 
virtual ~Notification ()
 Destructor. More...
 
template<typename T >
const T & staticCast () const
 

Private Attributes

const std::set< std::string > fKeys
 

Detailed Description

Attribute metadata changed notification.

An object of this class is sent to observers when the metadata of an attribute on a single node has changed.

Definition at line 105 of file attributesNotification.h.

Constructor & Destructor Documentation

◆ AttributeMetadataChanged() [1/3]

Ufe::AttributeMetadataChanged::AttributeMetadataChanged ( const Path path,
const std::string &  name,
const std::string &  key 
)

Constructor.

Parameters
pathAttributeChanged notification for the node at the tail of path.
nameName of the attribute that changed.
keyA single metadata key that had it's value changed.

◆ AttributeMetadataChanged() [2/3]

Ufe::AttributeMetadataChanged::AttributeMetadataChanged ( const Path path,
const std::string &  name,
const std::set< std::string > &  keys 
)

Constructor.

Parameters
pathAttributeChanged notification for the node at the tail of path.
nameName of the attribute that changed.
keysThe metadata keys that had values changed.

◆ AttributeMetadataChanged() [3/3]

Ufe::AttributeMetadataChanged::AttributeMetadataChanged ( const AttributeMetadataChanged )
default

Default copy constructor.

◆ ~AttributeMetadataChanged()

Ufe::AttributeMetadataChanged::~AttributeMetadataChanged ( )
override

Destructor.

Member Function Documentation

◆ has()

bool Ufe::AttributeMetadataChanged::has ( const std::string &  key) const
Returns
Whether this notification was sent for the provided metadata key.

◆ keys()

const std::set< std::string > & Ufe::AttributeMetadataChanged::keys ( ) const
Returns
Metadata keys that were changed for this Notification.

Member Data Documentation

◆ fKeys

const std::set<std::string> Ufe::AttributeMetadataChanged::fKeys
private

Definition at line 130 of file attributesNotification.h.


The documentation for this class was generated from the following file: