![]() |
MAK RTIspy API Documentation for HLA 1.3
|
00001 /********************************************************************* 00002 ** Copyright (c) 2011 VT MAK 00003 ** All rights reserved. 00004 *********************************************************************/ 00005 #ifndef libRtiUtil_h__ 00006 #define libRtiUtil_h__ 00007 00008 #include <cstdio> 00009 00010 #include "rtiMsConfig.h" 00011 00012 class DT_DLL_LRC DtLibRTIUtil 00013 { 00014 public: 00015 static unsigned long crcOfRTIFedFileContents(const char * fedFileName); 00016 // 00017 // //! calculate the crc of the fed file. 00018 // static unsigned long crcOfFedFileContents(const char* fedFileName ); 00019 00021 static unsigned long crcOfBuff(const char* buff, const unsigned int & fileSize); 00022 static FILE* openFedFile( const char* fedFileName, bool isBinary = false ); 00023 }; 00024 00025 #endif // libRtiUtil_h__