ufe 5.5
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Generic attribute which doesn't match any defined type. More...
#include <attribute.h>
Public Types | |
typedef std::shared_ptr< AttributeGeneric > | Ptr |
Public Types inherited from Ufe::Attribute | |
typedef std::shared_ptr< Attribute > | Ptr |
typedef std::string | Type |
Public Member Functions | |
Type | type () const final |
virtual std::string | nativeType () const =0 |
Attribute (const SceneItem::Ptr &) | |
Constructor. More... | |
Attribute (const Attribute &)=delete | |
No copy or move constructor/assignment. More... | |
Attribute (Attribute &&)=delete | |
Public Member Functions inherited from Ufe::Attribute | |
Attribute (const SceneItem::Ptr &) | |
Constructor. More... | |
virtual | ~Attribute () |
Attribute (const Attribute &)=delete | |
No copy or move constructor/assignment. More... | |
Attribute & | operator= (const Attribute &)=delete |
Attribute (Attribute &&)=delete | |
Attribute & | operator= (Attribute &&)=delete |
bool | operator== (const Attribute &rhs) const |
bool | operator!= (const Attribute &rhs) const |
SceneItem::Ptr | sceneItem () const |
virtual bool | hasValue () const =0 |
virtual std::string | name () const =0 |
virtual std::string | displayName () const |
virtual std::string | documentation () const =0 |
virtual Type | type () const =0 |
virtual std::string | string () const =0 |
virtual Value | getMetadata (const std::string &key) const =0 |
virtual bool | setMetadata (const std::string &key, const Value &value)=0 |
virtual UndoableCommand::Ptr | setMetadataCmd (const std::string &key, const Value &value) |
virtual bool | clearMetadata (const std::string &key)=0 |
virtual UndoableCommand::Ptr | clearMetadataCmd (const std::string &key) |
virtual bool | hasMetadata (const std::string &key) const =0 |
Returns true if metadata key has a non-empty value. More... | |
Additional Inherited Members | |
Static Public Attributes inherited from Ufe::Attribute | |
static constexpr char | kInvalid [] = "Invalid" |
static constexpr char | kBool [] = "Bool" |
static constexpr char | kInt [] = "Int" |
static constexpr char | kFloat [] = "Float" |
static constexpr char | kDouble [] = "Double" |
static constexpr char | kString [] = "String" |
static constexpr char | kColorFloat3 [] = "ColorFloat3" |
static constexpr char | kColorFloat4 [] = "ColorFloat4" |
static constexpr char | kFilename [] = "Filename" |
static constexpr char | kEnumString [] = "EnumString" |
static constexpr char | kInt3 [] = "Int3" |
static constexpr char | kFloat2 [] = "Float2" |
static constexpr char | kFloat3 [] = "Float3" |
static constexpr char | kFloat4 [] = "Float4" |
static constexpr char | kDouble3 [] = "Double3" |
static constexpr char | kMatrix3d [] = "Matrix3d" |
static constexpr char | kMatrix4d [] = "Matrix4d" |
static constexpr char | kGeneric [] = "Generic" |
static constexpr char | kLocked [] = "Locked" |
Generic attribute which doesn't match any defined type.
Definition at line 171 of file attribute.h.
typedef std::shared_ptr<AttributeGeneric> Ufe::AttributeGeneric::Ptr |
Definition at line 174 of file attribute.h.
|
delete |
|
delete |
No copy or move constructor/assignment.
Ufe::Attribute::Attribute | ( | const SceneItem::Ptr & | ) |
Constructor.
|
pure virtual |
|
finalvirtual |
Implements Ufe::Attribute.