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
|
Base class for Attribute definitions. More...
#include <attributeDef.h>
Public Types | |
enum | IOType { INPUT_ATTR , OUTPUT_ATTR } |
typedef std::shared_ptr< const AttributeDef > | ConstPtr |
Public Member Functions | |
virtual | ~AttributeDef () |
Destructor. More... | |
virtual std::string | name () const =0 |
virtual std::string | type () const =0 |
virtual std::string | defaultValue () const =0 |
virtual IOType | ioType () const =0 |
virtual Value | getMetadata (const std::string &key) const =0 |
virtual bool | hasMetadata (const std::string &key) const =0 |
Returns true if metadata key has a non-empty value. More... | |
Static Public Attributes | |
Metadata Keys: | |
static constexpr char | kNativeType [] = "NativeType" |
Base class for Attribute definitions.
Thin wrapper around an attribute definition. Defines the standard interface to include name, type, default value, I/O type, and metadata.
Definition at line 30 of file attributeDef.h.
typedef std::shared_ptr<const AttributeDef> Ufe::AttributeDef::ConstPtr |
Definition at line 33 of file attributeDef.h.
Enumerator | |
---|---|
INPUT_ATTR | |
OUTPUT_ATTR |
Definition at line 34 of file attributeDef.h.
|
virtual |
Destructor.
|
pure virtual |
|
pure virtual |
Get the value of the metadata named key.
[in] | key | The metadata key to query. |
|
pure virtual |
Returns true if metadata key has a non-empty value.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
staticconstexpr |
Metadata key: NativeType, value type = string
Used to access the AttributeDef's native Type.
Definition at line 70 of file attributeDef.h.