| 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 fbxcollectionexclusive.h |
| 13 | #ifndef _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_ |
| 14 | #define _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_ |
| 15 | |
| 16 | #include <fbxsdk/fbxsdk_def.h> |
| 17 | |
| 18 | #include <fbxsdk/scene/fbxcollection.h> |
| 19 | |
| 20 | #include <fbxsdk/fbxsdk_nsbegin.h> |
| 21 | |
| 22 | /** Class for exclusive collections. An object (FbxObject) should belong to only one exclusive collection at most. |
| 23 | * \nosubgrouping |
| 24 | */ |
| 25 | class FBXSDK_DLL FbxCollectionExclusive : public FbxCollection |
| 26 | { |
| 27 | FBXSDK_OBJECT_DECLARE(FbxCollectionExclusive, FbxCollection); |
| 28 | |
| 29 | public: |
| 30 | /** Add a member if it's not a member of any other FbxCollectionExclusive objects. |
| 31 | * \param pMember Object to be added |
| 32 | */ |
| 33 | bool AddMember(FbxObject* pMember); |
| 34 | }; |
| 35 | |
| 36 | #include <fbxsdk/fbxsdk_nsend.h> |
| 37 | |
| 38 | #endif /* _FBXSDK_SCENE_COLLECTION_EXCLUSIVE_H_ */ |
| 39 | |