![]() |
ufe
3.2
Universal Front End is a DCC-agnostic component that will allow a DCC to browse and edit data in multiple data models
|
Attribute which has a list of strings as enumerated values. More...
#include <attribute.h>


Public Types | |
| typedef std::shared_ptr< AttributeEnumString > | Ptr |
| typedef std::vector< std::string > | EnumValues |
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 | get () const =0 |
| virtual void | set (const std::string &value)=0 |
| Set the attribute enum value. More... | |
| virtual UndoableCommand::Ptr | setCmd (const std::string &value) |
| virtual EnumValues | getEnumValues () 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 () |
| SceneItem::Ptr | sceneItem () const |
| virtual bool | hasValue () const =0 |
| virtual std::string | name () const =0 |
| virtual std::string | documentation () const =0 |
| virtual std::string | string () const =0 |
| Attribute (const Attribute &)=delete | |
| No copy or move constructor/assignment. More... | |
| Attribute & | operator= (const Attribute &)=delete |
| No copy or move constructor/assignment. More... | |
| Attribute (Attribute &&)=delete | |
| No copy or move constructor/assignment. More... | |
| Attribute & | operator= (Attribute &&)=delete |
| No copy or move constructor/assignment. More... | |
| 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 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 | kEnumString [] = "EnumString" |
| static constexpr char | kInt3 [] = "Int3" |
| static constexpr char | kFloat3 [] = "Float3" |
| static constexpr char | kDouble3 [] = "Double3" |
| static constexpr char | kGeneric [] = "Generic" |
| static constexpr char | kLocked [] = "Locked" |
Attribute which has a list of strings as enumerated values.
Definition at line 164 of file attribute.h.
| typedef std::vector< std::string > Ufe::AttributeEnumString::EnumValues |
Definition at line 169 of file attribute.h.
| typedef std::shared_ptr<AttributeEnumString> Ufe::AttributeEnumString::Ptr |
Definition at line 168 of file attribute.h.
| Ufe::Attribute::Attribute |
Constructor.
|
delete |
|
delete |
No copy or move constructor/assignment.
|
pure virtual |
|
pure virtual |
|
pure virtual |
Set the attribute enum value.
|
virtual |
Return a command for undo / redo that sets the attribute enum value. The returned command is not executed; it is up to the caller to call execute().
|
finalvirtual |
Implements Ufe::Attribute.