1 #ifndef __FBFILEREFERENCE_H__
2 #define __FBFILEREFERENCE_H__
43 #include <kaydaradef.h>
48 #define FBSDK_DLL K_DLLIMPORT
54 #include <fbsdk/fbnamespace.h>
56 #ifdef FBSDKUseNamespace
57 namespace FBSDKNamespace {
168 bool SwapReferenceFilePath(
const char* pFilePath,
bool pApplyAvailableRefEdit =
true,
bool pMergeCurrentRefEdit =
true);
179 #ifdef FBSDKUseNamespace
Objects Containing class.
FBPropertyString ReferenceFilePath
Read Write Property: File Reference file path.
bool SwapReferenceFilePath(const char *pFilePath, bool pApplyAvailableRefEdit=true, bool pMergeCurrentRefEdit=true)
Swap the Ref File Path and apply ref edit.
bool BakeRefEditToFile(const char *pFilePath=NULL)
Save the current status of the referenced content back to disk.
FBPropertyBool IsLoaded
Read Write Property: File Reference Load/Unload.
void RevertRefEdit(FBPlug *pPlug=NULL, FBPlugModificationFlag pModificationFlag=kFBAllModifiedMask)
Revert the modification on the referenced object/property to original state.
bool ClearAllRefEdit()
Clear all cached Ref edit.
void GetRefFileList(FBStringList &pRefFileList) const
Return a list of ref file path which has cached Ref Edit.
FBFileReference(const char *pSingleLevelNamespace, FBNamespace *pParentNSObj)
Constructor.
FBFileReference(const char *pMultiLevelNamespace, HIObject pObject)
Constructor.
bool DuplicateFileRef(const FBStringList &pDstNameSpaceList, bool pWithRefEdit=false)
Duplicate/Clone the FileRef object and its referenced content (with/without refEdit).
const char * GetRefEdit(const char *pFilePath=NULL)
Return the RefEdit for given RefFile Path.
void ApplyRefEditPyScriptFromString(const char *pRefEditPyScript)
Apply specified reference edits from Python script string.
void ApplyRefEditPyScriptFromFile(const char *pRefEditPyScriptFilePath)
Apply specified reference edits from python script file.
bool ClearRefEdit(const char *pFilePath)
Clear the cached RefEdit for the given ref file path.
Objects Containing class.
Connections Basic Open Reality SDK Element.
PropertyList: Concrete class for PropertyList of component
FBFileReference * operator[](int pIndex)
Get the FileReference object at pIndex.
Property class: const char * (String).
#define __FBClassDeclare(Name, Parent)
For internal use only.
FB_DEFINE_COMPONENT(K_DLLIMPORT, AnimationNode)
Animation node class.
#define FBSDK_DLL
Be sure that FBSDK_DLL is defined only once...
class K_DLLIMPORT FBPropertyBase< bool, kFBPT_bool > FBPropertyBool
Property: bool
#define FB_DEFINE_LIST(DllTag, Type)
Define a component list.
#define FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.
#define __FB_FORWARD(ClassName)
Forwarding of class and typedef declaration.