1/****************************************************************************************
2
3 Copyright (C) 2015 Autodesk, Inc.
4 All rights reserved.
5
6 Use of this software is subject to the terms of the Autodesk license agreement
7 provided at the time of installation or download, or which otherwise accompanies
8 this software in either electronic or hard copy form.
9
10****************************************************************************************/
11
12//! \file fbxoperatorentryview.h
13#ifndef _FBXSDK_SCENE_SHADING_OPERATOR_ENTRY_VIEW_H_
14#define _FBXSDK_SCENE_SHADING_OPERATOR_ENTRY_VIEW_H_
15
16#include <fbxsdk/fbxsdk_def.h>
17
18#include <fbxsdk/scene/shading/fbxentryview.h>
19
20#include <fbxsdk/fbxsdk_nsbegin.h>
21
22class FbxBindingTableEntry;
23
24/** FbxOperatorEntryView represents binding operator entry in entry tables.
25 * The binding operator can be used as source or destination for the binding entry.
26 * \see FbxBindingTableEntry and FbxBindingTable.
27 * \nosubgrouping
28 */
29class FBXSDK_DLL FbxOperatorEntryView : public FbxEntryView
30{
31public:
32 /** Name of the entry type used in the binding entry.
33 * It should be "FbxOperatorEntry" in this case.
34 */
35 static const char* sEntryType;
36
37 /** Constructor.
38 * \param pEntry The binding table entry to create the entry view for.
39 * \param pAsSource \c true to create the entry view as source, \c false as destination.
40 * \param pCreate \c true to create the entry view, \c false otherwise.
41 */
42 FbxOperatorEntryView( FbxBindingTableEntry* pEntry, bool pAsSource, bool pCreate = false );
43
44 //! Destructor.
45 ~FbxOperatorEntryView();
46
47 /** Get the operator name from the binding entry.
48 * \return The operator name.
49 */
50 const char* GetOperatorName() const;
51
52 /** Set the operator name to the binding entry.
53 * \param pName The operator name to set.
54 */
55 void SetOperatorName(const char* pName);
56
57 /** Get the entry type.
58 * \return Entry type as string "FbxOperatorEntry".
59 * \remarks Always use EntryType() to get the right entry type.
60 */
61 virtual const char* EntryType() const;
62};
63
64#include <fbxsdk/fbxsdk_nsend.h>
65
66#endif /* _FBXSDK_SCENE_SHADING_OPERATOR_ENTRY_VIEW_H_ */
67