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
connections.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/connections.h"
2#ifndef UFE_CONNECTIONS_H
3#define UFE_CONNECTIONS_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 "connection.h"
16
17#include <memory>
18
20
26{
27public:
28 typedef std::shared_ptr<Connections> Ptr;
29
31 {
32 ATTR_IS_SOURCE = 0x01,
33 ATTR_IS_DESTINATION = 0x02,
34 ATTR_ANY = 0x03
35 };
36
40 virtual ~Connections();
41
44 Connections(const Connections&) = delete;
49
51 virtual std::vector<Connection::Ptr> allConnections() const = 0;
52
62 virtual bool hasConnection(const Attribute::Ptr& attr, AttributeType attrType) const;
63
73 virtual std::vector<Connection::Ptr> connections(const Attribute::Ptr& attr, AttributeType attrType) const;
74};
75
76}
77
78#endif /* UFE_CONNECTIONS_H */
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:39
The class represents a list of existing connections.
Definition: connections.h:26
std::shared_ptr< Connections > Ptr
Definition: connections.h:28
virtual ~Connections()
Destructor.
Connections & operator=(const Connections &)=delete
Connections(Connections &&)=delete
virtual bool hasConnection(const Attribute::Ptr &attr, AttributeType attrType) const
virtual std::vector< Connection::Ptr > allConnections() const =0
Connections & operator=(Connections &&)=delete
virtual std::vector< Connection::Ptr > connections(const Attribute::Ptr &attr, AttributeType attrType) const
Connections(const Connections &)=delete
Connections()
Constructor.
#define UFE_NS_DEF
Definition: ufe.h:36
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:35