Bifrost SDK
Bifrost SDK documentation
Source.h
Go to the documentation of this file.
1//-
2// =============================================================================
3// Copyright 2025 Autodesk, Inc. All rights reserved.
4//
5// Use of this software is subject to the terms of the Autodesk license
6// agreement provided at the time of installation or download, or which
7// otherwise accompanies this software in either electronic or hard copy form.
8// =============================================================================
9//+
10
13
14#ifndef AMINO_CORE_SOURCE_H
15#define AMINO_CORE_SOURCE_H
16
18
19#include <Amino/Core/internal/PImpl.h>
20
21//==============================================================================
22// NAMESPACE Amino
23//==============================================================================
24
25namespace Amino {
26
27//==============================================================================
28// CLASS Source
29//==============================================================================
30
35class AMINO_CORE_SHARED_DECL Source {
36public:
37 /*----- member functions -----*/
38
40 Source() noexcept;
41
43 Source(Source const& o);
44
46 Source(Source&& o) noexcept;
47
49 Source& operator=(Source const& o);
50
52 Source& operator=(Source&& o) noexcept;
53
56
59 bool isValid() const;
60 explicit operator bool() const { return isValid(); }
62
63private:
65
66 /*----- data members -----*/
67
69 Internal::PImpl<Source, 4> m_impl;
70
72};
73
74} // namespace Amino
75
76#endif
Definition of macros for symbol visibility.
Definition: HostData.h:33
Generic opaque handle to a source (provenance).
Definition: Source.h:35
Source() noexcept
Default constructor (empty/invalid Source).