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
connections.h
Go to the documentation of this file.
1#line 1 "S:/jenkins/workspace/ECP/ufe/ufe-full-python3.11-windows/ufe/include/connections.h"
2#ifndef _ufe_connections
3#define _ufe_connections
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 "connection.h"
18
19#include <memory>
20
22
28{
29public:
30 typedef std::shared_ptr<Connections> Ptr;
31
33 {
34 ATTR_IS_SOURCE = 0x01,
35 ATTR_IS_DESTINATION = 0x02,
36 ATTR_ANY = 0x03
37 };
38
42 virtual ~Connections();
43
45
46 Connections(const Connections&) = delete;
51
53 virtual std::vector<Connection::Ptr> allConnections() const = 0;
54
64 virtual bool hasConnection(const Attribute::Ptr& attr, AttributeType attrType) const;
65
75 virtual std::vector<Connection::Ptr> connections(const Attribute::Ptr& attr, AttributeType attrType) const;
76};
77
78}
79
80#endif
std::shared_ptr< Attribute > Ptr
Definition: attribute.h:40
The class represents a list of existing connections.
Definition: connections.h:28
std::shared_ptr< Connections > Ptr
Definition: connections.h:30
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
No copy or move constructor/assignment.
Connections()
Constructor.
#define UFE_NS_DEF
Definition: ufe.h:35
Definition of macros for symbol visibility.
#define UFE_SDK_DECL
Definition: ufeExport.h:36