ufe 7.0
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 "D:/Jenkins/workspace/EMS/ECG/ufe/full/ufe-full-python3.13-windows/ufe/include/attributeInfo.h"
2#ifndef UFE_ATTRIBUTEINFO_H
3#define UFE_ATTRIBUTEINFO_H
4
5// ===========================================================================
6// Copyright 2025 Autodesk, Inc. All rights reserved.
7//
8// The use of this software is subject to the Autodesk Terms of Use or other
9// license agreement provided at the time of installation or download, or
10// which otherwise accompanies this software.
11// ===========================================================================
12
13#include "common/ufeExport.h"
14
15#include "attribute.h"
16
17#include <memory>
18#include <string>
19
21
33{
34public:
36 AttributeInfo(const Path& path, const std::string& name);
37 AttributeInfo(const AttributeInfo& attr) = default;
39
40 inline Rtid runTimeId() const { return fNodePath.runTimeId(); }
41 inline Path path() const { return fNodePath; }
42 inline std::string name() const { return fAttributeName; }
43
49
50private:
53};
54
55}
56
57#endif /* UFE_ATTRIBUTEINFO_H */
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:39
This class keeps information of an attribute.
Definition: attributeInfo.h:33
Path path() const
Definition: attributeInfo.h:41
std::string name() const
Definition: attributeInfo.h:42
Attribute::Ptr attribute() const
Create the Attribute from the AttributeInfo.
AttributeInfo(const AttributeInfo &attr)=default
Rtid runTimeId() const
Definition: attributeInfo.h:40
AttributeInfo(const Attribute::Ptr &attr)
const Path fNodePath
Definition: attributeInfo.h:51
AttributeInfo(const Path &path, const std::string &name)
const std::string fAttributeName
Definition: attributeInfo.h:52
Identify an object or 3D path in the scene.
Definition: path.h:40
std::string string(const Path &path)
Path path(const std::string &pathString)
uint32_t Rtid
Definition: rtid.h:27
#define UFE_NS_DEF
Definition: ufe.h:36
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:35