Changeset 817 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/include
- Timestamp:
- Mar 19, 2011, 10:47:28 PM (14 years ago)
- Location:
- branches/egtra/ab5.0/abdev/BasicCompiler_Common/include
- Files:
-
- 11 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h
r743 r817 9 9 BreakPointsPerFile(const char *lpszFileName,int iLineNum); 10 10 11 BreakPointsPerFile(BreakPointsPerFile&& y) 12 : filename(std::move(y.filename)) 13 , lines(std::move(y.lines)) 14 { 15 } 16 17 BreakPointsPerFile(BreakPointsPerFile const& y) 18 : filename(y.filename) 19 , lines(y.lines) 20 { 21 } 22 23 BreakPointsPerFile& operator =(BreakPointsPerFile&& y) 24 { 25 filename = std::move(y.filename); 26 lines = std::move(y.lines); 27 return *this; 28 } 29 30 BreakPointsPerFile& operator =(BreakPointsPerFile const& y) 31 { 32 return *this = std::move(BreakPointsPerFile(y)); 33 } 34 11 35 void add(int iLineNum); 12 36 void remove(int iLineNum); 13 37 14 38 void update( char *nativeCodeBuffer, const SourceLines &sourceLines ); 39 15 40 }; 16 41 typedef std::vector<BreakPointsPerFile> BreakPointsPerFiles; … … 27 52 28 53 char *update( char *nativeCodeBuffer, int SizeOf_CodeSection, const SourceLines &sourceLines ); 54 55 private: 56 BreakPointManager(BreakPointManager const&); 57 BreakPointManager& operator =(BreakPointManager const&); 29 58 }; 30 59 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/CodeGenerator.h
r641 r817 33 33 return typeSize; 34 34 } 35 36 private: 37 PertialSchedule(PertialSchedule const&); 38 PertialSchedule& operator =(PertialSchedule const&); 35 39 }; 36 40 typedef std::vector<const PertialSchedule *> PertialSchedules; … … 68 72 return sourceCodePos; 69 73 } 74 75 private: 76 GotoLabelSchedule(GotoLabelSchedule const&); 77 GotoLabelSchedule& operator =(GotoLabelSchedule const&); 70 78 }; 71 79 typedef std::vector<const GotoLabelSchedule *> GotoLabelSchedules; … … 90 98 , address( nativeCodePos ) 91 99 { 100 } 101 102 GotoLabel(GotoLabel&& y) 103 : name(std::move(y.name)) 104 , line(std::move(y.line)) 105 , address(std::move(y.address)) 106 { 107 } 108 109 GotoLabel(GotoLabel const& y) 110 : name(y.name) 111 , line(y.line) 112 , address(y.address) 113 { 114 } 115 116 GotoLabel& operator =(GotoLabel&& y) 117 { 118 name = std::move(y.name); 119 line = std::move(y.line); 120 address = std::move(y.address); 121 return *this; 122 } 123 124 GotoLabel& operator =(GotoLabel const& y) 125 { 126 return *this = std::move(GotoLabel(y)); 92 127 } 93 128 }; … … 147 182 void Break(); 148 183 void RunScheduleOfBreak(); 184 185 private: 186 LexicalScope(LexicalScope const&); 187 LexicalScope& operator =(LexicalScope const&); 149 188 }; 150 189 … … 184 223 //Returnステートメント用のデストラクタ呼び出し 185 224 void CallDestructorsOfReturn( int BaseLevel = 0 ); 225 226 private: 227 LexicalScopes(LexicalScopes const&); 228 LexicalScopes& operator =(LexicalScopes const&); 186 229 }; 187 230 … … 534 577 pNativeCode->Put( c6 ); 535 578 } 579 580 private: 581 CodeGenerator(CodeGenerator const&); 582 CodeGenerator& operator =(CodeGenerator const&); 536 583 }; -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Compiler.h
r812 r817 215 215 bool IsCompilingClass(); 216 216 const CClass &GetCompilingClass(); 217 218 private: 219 Compiler(Compiler const&); 220 Compiler& operator =(Compiler const&); 217 221 }; 218 222 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Configuration.h
r477 r817 27 27 ar & BOOST_SERIALIZATION_NVP( abdevRootRelativePath ); 28 28 } 29 30 Configuration(Configuration const&); 31 Configuration& operator =(Configuration const&); 29 32 }; -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/DataTableGenerator.h
r589 r817 17 17 } 18 18 19 private: 20 DataTableGenerator(); 21 DataTableGenerator(DataTableGenerator const&); 22 DataTableGenerator& operator =(DataTableGenerator const&); 19 23 }; 20 24 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Debugger.h
r467 r817 24 24 return isRunning; 25 25 } 26 27 private: 28 Debugger(Debugger const&); 29 Debugger& operator =(Debugger const&); 26 30 }; 27 31 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Enum.h
r750 r817 6 6 std::string value; 7 7 int sourceIndex; 8 8 9 public: 9 10 EnumMember( const std::string &name, const std::string &value, int sourceIndex ) … … 13 14 { 14 15 } 16 17 EnumMember(EnumMember&& y) 18 : name(std::move(y.name)) 19 , value(std::move(y.value)) 20 , sourceIndex(std::move(y.sourceIndex)) 21 { 22 } 23 24 EnumMember(EnumMember const& y) 25 : name(y.name) 26 , value(y.value) 27 , sourceIndex(y.sourceIndex) 28 { 29 } 30 31 EnumMember& operator =(EnumMember&& y) 32 { 33 name = std::move(y.name); 34 value = std::move(y.value); 35 sourceIndex = std::move(y.sourceIndex); 36 return *this; 37 } 38 39 EnumMember& operator =(EnumMember const& y) 40 { 41 return *this = std::move(EnumMember(y)); 42 } 43 15 44 const std::string &GetName() const 16 45 { … … 39 68 : Symbol( namespaceScopes, name ) 40 69 { 70 } 71 72 EnumInfo(EnumInfo&& y) 73 : Symbol(std::move(y)) 74 , bConst(std::move(y.bConst)) 75 , members(std::move(y.members)) 76 { 77 } 78 79 EnumInfo(EnumInfo const& y) 80 : Symbol(y) 81 , bConst(y.bConst) 82 , members(y.members) 83 { 84 } 85 86 EnumInfo& operator =(EnumInfo&& y) 87 { 88 Symbol::operator =(std::move(y)); 89 bConst = std::move(y.bConst); 90 members = std::move(y.members); 91 return *this; 92 } 93 94 EnumInfo& operator =(EnumInfo const& y) 95 { 96 return *this = std::move(EnumInfo(y)); 41 97 } 42 98 … … 80 136 return NULL; 81 137 }; 138 139 EnumInfoCollection() {} 140 141 private: 142 EnumInfoCollection(EnumInfoCollection const&); 143 EnumInfoCollection& operator =(EnumInfoCollection const&); 82 144 }; -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Linker.h
r357 r817 54 54 // データテーブルをセット 55 55 void SetDataTable( DataTable &dataTable ); 56 57 private: 58 Linker(Linker const&); 59 Linker& operator =(Linker const&); 56 60 }; -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Messenger.h
r812 r817 24 24 { 25 25 } 26 26 27 ErrorInfo( int errorCode, const std::string &keyword, int sourceIndex ); 28 29 ErrorInfo(ErrorInfo&& y) 30 : errorCode(std::move(y.errorCode)) 31 , keyword(std::move(y.keyword)) 32 , sourceFilePath(std::move(y.sourceFilePath)) 33 , sourceLineNum(std::move(y.sourceLineNum)) 34 , errorLineNum(std::move(y.errorLineNum)) 35 { 36 } 37 38 ErrorInfo(ErrorInfo const& y) 39 : errorCode(y.errorCode) 40 , keyword(y.keyword) 41 , sourceFilePath(y.sourceFilePath) 42 , sourceLineNum(y.sourceLineNum) 43 , errorLineNum(y.errorLineNum) 44 { 45 } 46 47 ErrorInfo& operator =(ErrorInfo&& y) 48 { 49 errorCode = std::move(y.errorCode); 50 keyword = std::move(y.keyword); 51 sourceFilePath = std::move(y.sourceFilePath); 52 sourceLineNum = std::move(y.sourceLineNum); 53 errorLineNum = std::move(y.errorLineNum); 54 return *this; 55 } 56 57 ErrorInfo& operator =(ErrorInfo const& y) 58 { 59 return *this = std::move(ErrorInfo(y)); 60 } 27 61 28 62 int GetErrorCode() const … … 63 97 64 98 public: 99 ErrorMessenger() {} 100 65 101 void Output( const ErrorInfo &errorInfo ); 66 102 void Output( int errorCode, const std::string &keyword, int sourceIndex = -1 ); … … 75 111 76 112 void ShowErrorLine( int errorLineNum ); 113 114 private: 115 ErrorMessenger(ErrorMessenger const&); 116 ErrorMessenger& operator =(ErrorMessenger const&); 77 117 }; -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/Program.h
r719 r817 96 96 97 97 int GetExitCode() const; 98 99 private: 100 Program(Program const&); 101 Program& operator =(Program const&); 98 102 }; 99 103 -
branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/logger.h
r523 r817 28 28 ar & BOOST_SERIALIZATION_NVP( stopStep ); 29 29 } 30 31 LoggerSetting(LoggerSetting const&); 32 LoggerSetting operator =(LoggerSetting const&); 30 33 }; 31 34
Note:
See TracChangeset
for help on using the changeset viewer.