Changeset 215 in dev
- Timestamp:
- Jul 17, 2007, 3:44:11 PM (17 years ago)
- Location:
- trunk/abdev
- Files:
-
- 6 added
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler32/BasicCompiler.vcproj
r206 r215 1243 1243 </Filter> 1244 1244 <Filter 1245 Name=" ApplicationClasses"1245 Name="Langauge Classes" 1246 1246 > 1247 1247 <File … … 1278 1278 </File> 1279 1279 <File 1280 RelativePath="..\BasicCompiler_Common\src\Namespace.cpp" 1281 > 1282 </File> 1283 <File 1280 1284 RelativePath="..\BasicCompiler_Common\src\NamespaceSupporter.cpp" 1281 1285 > … … 1307 1311 <File 1308 1312 RelativePath="..\BasicCompiler_Common\src\Variable.cpp" 1313 > 1314 </File> 1315 </Filter> 1316 <Filter 1317 Name="Common Classes" 1318 > 1319 <File 1320 RelativePath="..\BasicCompiler_Common\src\BoostSerializationSupport.cpp" 1309 1321 > 1310 1322 </File> … … 1360 1372 </Filter> 1361 1373 <Filter 1362 Name=" ApplicationClasses"1374 Name="Language Classes" 1363 1375 > 1364 1376 <File … … 1403 1415 </File> 1404 1416 <File 1417 RelativePath="..\BasicCompiler_Common\include\Namespace.h" 1418 > 1419 </File> 1420 <File 1405 1421 RelativePath="..\BasicCompiler_Common\include\NamespaceSupporter.h" 1406 1422 > … … 1440 1456 <File 1441 1457 RelativePath="..\BasicCompiler_Common\include\Variable.h" 1458 > 1459 </File> 1460 </Filter> 1461 <Filter 1462 Name="Common Classes" 1463 > 1464 <File 1465 RelativePath="..\BasicCompiler_Common\include\BoostSerializationSupport.h" 1466 > 1467 </File> 1468 <File 1469 RelativePath="..\BasicCompiler_Common\include\Hashmap.h" 1470 > 1471 </File> 1472 <File 1473 RelativePath="..\BasicCompiler_Common\include\logger.h" 1442 1474 > 1443 1475 </File> -
trunk/abdev/BasicCompiler32/MakePeHdr.cpp
r212 r215 206 206 compiler.GetMeta().GetDllProcs().Iterator_Init(); 207 207 208 /* 208 209 209 if( !compiler.GetMeta().WriteXml( Jenga::Common::Environment::GetAppDir() + "\\meta_test.xml" ) ) 210 210 { … … 216 216 MessageBox(0,"XML読み込みに失敗","test",0); 217 217 } 218 */ 218 /* 219 219 if( !compiler.GetMeta().WriteBinaly( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) ) 220 220 { … … 226 226 MessageBox(0,"バイナリ読み込みに失敗","test",0); 227 227 } 228 if( !compiler.GetMeta().WriteText( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) ) 229 { 230 MessageBox(0,"バイナリ書き込みに失敗","test",0); 231 } 232 MetaImpl *pTempMeta = new MetaImpl(); 233 if( !pTempMeta->ReadText( Jenga::Common::Environment::GetAppDir() + "\\meta_test.dat" ) ) 234 { 235 MessageBox(0,"バイナリ読み込みに失敗","test",0); 236 }*/ 228 237 compiler.GetMeta() = (*pTempMeta); 229 238 -
trunk/abdev/BasicCompiler32/stdafx.h
r214 r215 1 #pragma warning(disable : 4996)1 #pragma once 2 2 3 3 #include <string> … … 15 15 16 16 //boost libraries 17 #pragma warning(push) 18 #pragma warning(disable : 4996) 17 19 #include <boost/foreach.hpp> 18 19 #include <jenga/include/common/BoostSerializationSupport.h> 20 #pragma warning(pop) 20 21 21 22 #include "../BasicCompiler_Common/common.h" 22 23 #include <Class.h>24 #include <Compiler.h>25 #include <NamespaceSupporter.h> -
trunk/abdev/BasicCompiler_Common/Enum.cpp
r206 r215 1 1 #include "stdafx.h" 2 3 #include <jenga/include/common/logger.h>4 2 5 3 #include <jenga/include/smoothie/Smoothie.h> -
trunk/abdev/BasicCompiler_Common/Enum.h
r182 r215 1 1 #pragma once 2 2 3 #include < jenga/include/smoothie/Namespace.h>3 #include <Namespace.h> 4 4 5 5 class CEnumMember{ -
trunk/abdev/BasicCompiler_Common/include/MetaImpl.h
r212 r215 1 1 #pragma once 2 2 3 #include < jenga/include/common/BoostSerializationSupport.h>3 #include <BoostSerializationSupport.h> 4 4 5 5 #include <option.h> … … 153 153 return procPointers; 154 154 } 155 156 bool AutoWrite( const std::string &filePath )157 {158 std::ofstream ofs( filePath.c_str() );159 160 bool isSuccessful = false;161 try{162 boost::archive::xml_oarchive oa(ofs);163 164 // ファイルから読込165 oa << boost::serialization::make_nvp( RootTagName(), *this );166 167 isSuccessful = true;168 }169 catch(...){170 // 失敗171 }172 173 // 入力を閉じる174 ofs.close();175 176 return isSuccessful;177 }178 155 }; -
trunk/abdev/BasicCompiler_Common/include/NamespaceSupporter.h
r199 r215 1 1 #pragma once 2 2 3 #include < jenga/include/smoothie/Namespace.h>3 #include <Namespace.h> 4 4 5 5 class NamespaceSupporter -
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r210 r215 1 1 #pragma once 2 2 3 #include <jenga/include/common/Hashmap.h>4 3 #include <jenga/include/smoothie/Source.h> 5 4 5 #include <Hashmap.h> 6 6 #include <option.h> 7 7 #include <Program.h> -
trunk/abdev/BasicCompiler_Common/include/Program.h
r168 r215 1 1 #pragma once 2 2 3 #include < jenga/include/common/logger.h>3 #include <logger.h> 4 4 5 5 class Program -
trunk/abdev/BasicCompiler_Common/include/Prototype.h
r212 r215 4 4 #include <vector> 5 5 6 #include < jenga/include/common/BoostSerializationSupport.h>6 #include <BoostSerializationSupport.h> 7 7 8 8 #include <Symbol.h> -
trunk/abdev/BasicCompiler_Common/include/Symbol.h
r212 r215 4 4 #include <string> 5 5 6 #include <jenga/include/ common/BoostSerializationSupport.h>6 #include <jenga/include/smoothie/LexicalAnalysis.h> 7 7 8 #include < jenga/include/smoothie/Namespace.h>9 #include < jenga/include/smoothie/LexicalAnalysis.h>8 #include <BoostSerializationSupport.h> 9 #include <Namespace.h> 10 10 11 11 using namespace std; -
trunk/abdev/BasicCompiler_Common/include/Type.h
r212 r215 7 7 8 8 #include <jenga/include/common/Exception.h> 9 #include < jenga/include/common/BoostSerializationSupport.h>9 #include <BoostSerializationSupport.h> 10 10 #include <jenga/include/smoothie/BasicFixed.h> 11 11 -
trunk/abdev/BasicCompiler_Common/include/TypeDef.h
r206 r215 4 4 #include <string> 5 5 6 #include <jenga/include/smoothie/Namespace.h> 7 6 #include <Namespace.h> 8 7 #include <Type.h> 9 8 #include <Symbol.h> -
trunk/abdev/BasicCompiler_Common/include/option.h
r212 r215 26 26 #define USE_TRACE 27 27 #else 28 #define USE_TRACE28 //#define USE_TRACE 29 29 #endif 30 30
Note:
See TracChangeset
for help on using the changeset viewer.