Changeset 817 in dev for branches/egtra/ab5.0/abdev/BasicCompiler_Common/include/BreakPoint.h
- Timestamp:
- Mar 19, 2011, 10:47:28 PM (13 years ago)
- File:
-
- 1 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
Note:
See TracChangeset
for help on using the changeset viewer.