Changeset 266 in dev for trunk/abdev/BasicCompiler_Common/include
- Timestamp:
- Aug 7, 2007, 4:14:06 AM (17 years ago)
- Location:
- trunk/abdev/BasicCompiler_Common/include
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/abdev/BasicCompiler_Common/include/Class.h
r232 r266 6 6 #include <Method.h> 7 7 #include <Member.h> 8 #include <Source.h> 8 9 9 10 class UserProc; -
trunk/abdev/BasicCompiler_Common/include/Compiler.h
r265 r266 22 22 : pObjectModule( new ObjectModule ) 23 23 , pNowObjectModule( pObjectModule ) 24 , targetModuleType( Exe ) 24 25 { 25 26 } … … 40 41 Linker linker; 41 42 43 // オブジェクトモジュール 42 44 ObjectModule &GetObjectModule() 43 45 { … … 49 51 } 50 52 53 54 // ターゲット 55 enum TargetModuleType 56 { 57 Exe, 58 Dll, 59 StaticLibrary, 60 }; 61 62 TargetModuleType targetModuleType; 63 64 bool IsExe() const 65 { 66 if( targetModuleType == Exe ) 67 { 68 return true; 69 } 70 return false; 71 } 72 bool IsDll() const 73 { 74 if( targetModuleType == Dll ) 75 { 76 return true; 77 } 78 return false; 79 } 80 bool IsStaticLibrary() const 81 { 82 if( targetModuleType == StaticLibrary ) 83 { 84 return true; 85 } 86 return false; 87 } 88 void SetTargetModuleType( TargetModuleType targetModuleType ) 89 { 90 this->targetModuleType = targetModuleType; 91 } 92 93 94 51 95 static bool StringToType( const std::string &typeName, Type &type ); 52 96 static const std::string TypeToString( const Type &type ); -
trunk/abdev/BasicCompiler_Common/include/Linker.h
r263 r266 12 12 // データテーブル 13 13 DataTable dataTable; 14 15 // ソースコード 16 BasicSource source; 14 17 15 18 // XMLシリアライズ用 … … 27 30 ar & BOOST_SERIALIZATION_NVP( globalNativeCode ); 28 31 ar & BOOST_SERIALIZATION_NVP( dataTable ); 32 ar & BOOST_SERIALIZATION_NVP( source ); 29 33 } 30 34 }; -
trunk/abdev/BasicCompiler_Common/include/Member.h
r206 r266 3 3 #include <string> 4 4 #include <vector> 5 6 #include <jenga/include/smoothie/Source.h>7 5 8 6 #include <option.h> -
trunk/abdev/BasicCompiler_Common/include/Procedure.h
r259 r266 1 1 #pragma once 2 3 #include <jenga/include/smoothie/Source.h>4 2 5 3 #include <Hashmap.h> … … 12 10 #include <Variable.h> 13 11 #include <CodeGenerator.h> 12 #include <Source.h> 14 13 15 14 class CClass; … … 43 42 44 43 // XMLシリアライズ用 45 private:46 44 private: 47 45 friend class boost::serialization::access;
Note:
See TracChangeset
for help on using the changeset viewer.