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
attributeInfo.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/attributeInfo.h"
2#ifndef _ufe_attributeInfo
3#define _ufe_attributeInfo
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
17#include "attribute.h"
18
19#include <memory>
20#include <string>
21
23
35{
36public:
38 AttributeInfo(const Path& path, const std::string& name);
39 AttributeInfo(const AttributeInfo& attr) = default;
41
42 inline Rtid runTimeId() const { return fNodePath.runTimeId(); }
43 inline Path path() const { return fNodePath; }
44 inline std::string name() const { return fAttributeName; }
45
51
52private:
55};
56
57}
58
59#endif /* _ufe_attributeInfo */
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:40
This class keeps information of an attribute.
Definition: attributeInfo.h:35
Path path() const
Definition: attributeInfo.h:43
std::string name() const
Definition: attributeInfo.h:44
Attribute::Ptr attribute() const
Create the Attribute from the AttributeInfo.
AttributeInfo(const AttributeInfo &attr)=default
Rtid runTimeId() const
Definition: attributeInfo.h:42
AttributeInfo(const Attribute::Ptr &attr)
const Path fNodePath
Definition: attributeInfo.h:53
AttributeInfo(const Path &path, const std::string &name)
const std::string fAttributeName
Definition: attributeInfo.h:54
Identify an object or 3D path in the scene.
Definition: path.h:38
std::string string(const Path &path)
Path path(const std::string &pathString)
uint32_t Rtid
Definition: rtid.h:26
#define UFE_NS_DEF
Definition: ufe.h:35
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:36