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 fbxbindingsentryview.h
13#ifndef _FBXSDK_SCENE_SHADING_BINDINGS_ENTRY_VIEW_H_
14#define _FBXSDK_SCENE_SHADING_BINDINGS_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
22/** FbxBindingsEntryView represents binding table entry in entry tables.
23 * The name of the binding table can be used as source or destination for the binding entry.
24 * \see FbxBindingTableEntry and FbxBindingTable.
25 */
26class FBXSDK_DLL FbxBindingsEntryView : public FbxEntryView
27{
28public:
29 /** Name of the entry type used in the binding entry.
30 * It should be "FbxBindingsEntry" in this case.
31 */
32 static const char* sEntryType;
33
34 /** Constructor.
35 * \param pEntry The binding table entry to create the entry view for.
36 * \param pAsSource \c true to create the entry view as source, \c false as destination.
37 * \param pCreate \c true to create the entry view, \c false otherwise.
38 */
39 FbxBindingsEntryView( FbxBindingTableEntry* pEntry, bool pAsSource, bool pCreate = false );
40
41 //! Destructor.
42 ~FbxBindingsEntryView();
43
44 /** Get the binding table's name for the binding entry.
45 * \return The binding table's name.
46 */
47 const char* GetBindingTableName() const;
48
49 /** Set the binding table's name for binding entry.
50 * \param pName The binding table's name to set.
51 */
52 void SetBindingTableName(const char* pName);
53
54 /** Get the entry type.
55 * \return Entry type as string "FbxBindingsEntry".
56 * \remarks Always use EntryType() to get the right entry type.
57 */
58 virtual const char* EntryType() const;
59};
60
61#include <fbxsdk/fbxsdk_nsend.h>
62
63#endif /* _FBXSDK_SCENE_SHADING_BINDINGS_ENTRY_VIEW_H_ */
64