kfbxdocumentinfo.h

Go to the documentation of this file.
00001 
00003 #ifndef FBXFILESDK_FBXCORE_FBXCOLLECTION_KFBXDOCUMENTINFO_H
00004 #define FBXFILESDK_FBXCORE_FBXCOLLECTION_KFBXDOCUMENTINFO_H
00005 
00006 /**************************************************************************************
00007 
00008  Copyright (C) 2001 - 2010 Autodesk, Inc. and/or its licensors.
00009  All Rights Reserved.
00010 
00011  The coded instructions, statements, computer programs, and/or related material 
00012  (collectively the "Data") in these files contain unpublished information 
00013  proprietary to Autodesk, Inc. and/or its licensors, which is protected by 
00014  Canada and United States of America federal copyright law and by international 
00015  treaties. 
00016  
00017  The Data may not be disclosed or distributed to third parties, in whole or in
00018  part, without the prior written consent of Autodesk, Inc. ("Autodesk").
00019 
00020  THE DATA IS PROVIDED "AS IS" AND WITHOUT WARRANTY.
00021  ALL WARRANTIES ARE EXPRESSLY EXCLUDED AND DISCLAIMED. AUTODESK MAKES NO
00022  WARRANTY OF ANY KIND WITH RESPECT TO THE DATA, EXPRESS, IMPLIED OR ARISING
00023  BY CUSTOM OR TRADE USAGE, AND DISCLAIMS ANY IMPLIED WARRANTIES OF TITLE, 
00024  NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OR USE. 
00025  WITHOUT LIMITING THE FOREGOING, AUTODESK DOES NOT WARRANT THAT THE OPERATION
00026  OF THE DATA WILL BE UNINTERRUPTED OR ERROR FREE. 
00027  
00028  IN NO EVENT SHALL AUTODESK, ITS AFFILIATES, PARENT COMPANIES, LICENSORS
00029  OR SUPPLIERS ("AUTODESK GROUP") BE LIABLE FOR ANY LOSSES, DAMAGES OR EXPENSES
00030  OF ANY KIND (INCLUDING WITHOUT LIMITATION PUNITIVE OR MULTIPLE DAMAGES OR OTHER
00031  SPECIAL, DIRECT, INDIRECT, EXEMPLARY, INCIDENTAL, LOSS OF PROFITS, REVENUE
00032  OR DATA, COST OF COVER OR CONSEQUENTIAL LOSSES OR DAMAGES OF ANY KIND),
00033  HOWEVER CAUSED, AND REGARDLESS OF THE THEORY OF LIABILITY, WHETHER DERIVED
00034  FROM CONTRACT, TORT (INCLUDING, BUT NOT LIMITED TO, NEGLIGENCE), OR OTHERWISE,
00035  ARISING OUT OF OR RELATING TO THE DATA OR ITS USE OR ANY OTHER PERFORMANCE,
00036  WHETHER OR NOT AUTODESK HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH LOSS
00037  OR DAMAGE. 
00038 
00039 **************************************************************************************/
00040 #include <fbxfilesdk/fbxfilesdk_def.h>
00041 
00042 #include <fbxfilesdk/components/kbaselib/klib/kstring.h>
00043 #include <fbxfilesdk/kfbxplugins/kfbxobject.h>
00044 
00045 #include <fbxfilesdk/fbxfilesdk_nsbegin.h>
00046 
00047 class KFbxThumbnail;
00048 class KFbxSdkManager;
00049 
00052 class KFBX_DLL KFbxDocumentInfo : public KFbxObject
00053 {
00054     KFBXOBJECT_DECLARE(KFbxDocumentInfo,KFbxObject);
00055 
00056 public:
00068         KFbxTypedProperty<fbxString> LastSavedUrl;
00069 
00077         KFbxTypedProperty<fbxString> Url;
00078 
00085         KFbxProperty Original;
00086 
00094         KFbxTypedProperty<fbxString> Original_ApplicationVendor;
00095 
00103         KFbxTypedProperty<fbxString> Original_ApplicationName;
00104 
00112         KFbxTypedProperty<fbxString> Original_ApplicationVersion;
00113 
00121         KFbxTypedProperty<fbxString> Original_FileName;
00122 
00131         KFbxTypedProperty<fbxDateTime> Original_DateTime_GMT;
00132 
00139         KFbxProperty LastSaved;
00140 
00148         KFbxTypedProperty<fbxString> LastSaved_ApplicationVendor;
00149 
00157         KFbxTypedProperty<fbxString> LastSaved_ApplicationName;
00158 
00166         KFbxTypedProperty<fbxString> LastSaved_ApplicationVersion;
00167 
00177         KFbxTypedProperty<fbxDateTime> LastSaved_DateTime_GMT;
00178 
00185         KFbxTypedProperty<fbxString> EmbeddedUrl;
00187 
00192         KString mTitle;     
00193         KString mSubject;   
00194         KString mAuthor;    
00195         KString mKeywords;  
00196         KString mRevision;  
00197         KString mComment;   
00198 
00199 
00207         KFbxThumbnail* GetSceneThumbnail();
00208 
00212         void SetSceneThumbnail(KFbxThumbnail* pSceneThumbnail);
00214 
00219     void Clear();
00220 
00222 //
00223 //  WARNING!
00224 //
00225 //  Anything beyond these lines may not be documented accurately and is 
00226 //  subject to change without notice.
00227 //
00229 #ifndef DOXYGEN_SHOULD_SKIP_THIS
00230 
00231     virtual KFbxObject& Copy(const KFbxObject& pObject);
00232 
00233 protected:
00235     KFbxDocumentInfo(KFbxSdkManager& pManager,char const *pName);
00236 
00237     bool            ConstructProperties(bool pForceSet);
00238     KFbxThumbnail*  mSceneThumbnail;
00239 
00240     friend class KStreamFbx;
00241 #endif // #ifndef DOXYGEN_SHOULD_SKIP_THIS 
00242 };
00243 
00244 typedef KFbxDocumentInfo* HKFbxDocumentInfo;
00245 
00246 // Backward compatibility
00247 // --------------------------------------------------------------
00248 
00249 //  typedef KFbxDocumentInfo* HKFbxDocumentInfo;
00250 //  typedef KFbxDocumentInfo* HKFbxDocumentInfo;
00251 
00252 #include <fbxfilesdk/fbxfilesdk_nsend.h>
00253 
00254 #endif // FBXFILESDK_FBXCORE_FBXCOLLECTION_KFBXDOCUMENTINFO_H
00255