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
attributesCommands.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/attributesCommands.h"
2#ifndef _ufe_attributes_commands
3#define _ufe_attributes_commands
4
5// =======================================================================
6// Copyright 2022 Autodesk, Inc. All rights reserved.
7//
8// This computer source code and related instructions and comments are the
9// unpublished confidential and proprietary information of Autodesk, Inc.
10// and are protected under applicable copyright and trade secret law. They
11// may not be disclosed to, copied or used by any third party without the
12// prior written consent of Autodesk, Inc.
13// =======================================================================
14
15#include "common/ufeExport.h"
16#include "attribute.h"
17#include "undoableCommand.h"
18
19#include <memory>
20
22
24
30{
31public:
32 typedef std::shared_ptr<AttributeUndoableCommand> Ptr;
35
37 ~AttributeUndoableCommand() override = default;
38
40 virtual Attribute::Ptr attribute() const = 0;
41};
42
43
44
45} // end namespace
46
47#endif /* _ufe_attributes_commands */
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:40
Command to add an attribute to a scene item.
AttributeUndoableCommand()=default
Default constructor.
~AttributeUndoableCommand() override=default
Destructor.
std::shared_ptr< AttributeUndoableCommand > Ptr
virtual Attribute::Ptr attribute() const =0
Pure virtual method to retrieve the new attribute.
Abstract base class for undoable commands.
#define UFE_NS_DEF
Definition: ufe.h:35
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:36