AsmMappingInfo Class Reference

Mapping Info for AsmToSourceMapper One AsmMappingInfo object represents one line in source-code it stores the line-nr and filename (i.e. a position in source-code) plus a range of SgAsmInstruction 's which where generated out of this source-line. More...

#include <AsmToSourceMapper.h>

List of all members.

Public Member Functions

 AsmMappingInfo ()
 AsmMappingInfo (SgAsmFunctionDeclaration *relFun, SgAsmInstruction *start, SgAsmInstruction *end, const std::string &fileName, int line)
 AsmMappingInfo (const std::string &fileName, int line)
 AsmMappingInfo (const AsmMappingInfo &other)
AsmMappingInfooperator= (const AsmMappingInfo &other)
bool operator< (const AsmMappingInfo &other) const
SgAsmFunctionDeclaration *& relFun ()
SgAsmFunctionDeclaration
*const & 
relFun () const
SgAsmInstruction *& start ()
SgAsmInstruction *const & start () const
SgAsmInstruction *& end ()
SgAsmInstruction *const & end () const
std::string & fileName ()
const std::string & fileName () const
int & line ()
const int & line () const

Private Attributes

SgAsmFunctionDeclaration * relFun_
SgAsmInstruction * start_
SgAsmInstruction * end_
std::string fileName_
int line_


Detailed Description

Mapping Info for AsmToSourceMapper One AsmMappingInfo object represents one line in source-code it stores the line-nr and filename (i.e. a position in source-code) plus a range of SgAsmInstruction 's which where generated out of this source-line.

Definition at line 16 of file AsmToSourceMapper.h.


Constructor & Destructor Documentation

AsmMappingInfo::AsmMappingInfo (  )  [inline]

Definition at line 19 of file AsmToSourceMapper.h.

AsmMappingInfo::AsmMappingInfo ( SgAsmFunctionDeclaration *  relFun,
SgAsmInstruction *  start,
SgAsmInstruction *  end,
const std::string &  fileName,
int  line 
) [inline]

Definition at line 27 of file AsmToSourceMapper.h.

AsmMappingInfo::AsmMappingInfo ( const std::string &  fileName,
int  line 
) [inline]

Definition at line 38 of file AsmToSourceMapper.h.

AsmMappingInfo::AsmMappingInfo ( const AsmMappingInfo other  )  [inline]

Definition at line 46 of file AsmToSourceMapper.h.


Member Function Documentation

SgAsmInstruction* const& AsmMappingInfo::end (  )  const [inline]

Definition at line 87 of file AsmToSourceMapper.h.

SgAsmInstruction*& AsmMappingInfo::end (  )  [inline]

Definition at line 85 of file AsmToSourceMapper.h.

const std::string& AsmMappingInfo::fileName (  )  const [inline]

Definition at line 92 of file AsmToSourceMapper.h.

std::string& AsmMappingInfo::fileName (  )  [inline]

Definition at line 90 of file AsmToSourceMapper.h.

const int& AsmMappingInfo::line (  )  const [inline]

Definition at line 97 of file AsmToSourceMapper.h.

int& AsmMappingInfo::line (  )  [inline]

Definition at line 95 of file AsmToSourceMapper.h.

bool AsmMappingInfo::operator< ( const AsmMappingInfo other  )  const [inline]

Definition at line 65 of file AsmToSourceMapper.h.

AsmMappingInfo& AsmMappingInfo::operator= ( const AsmMappingInfo other  )  [inline]

Definition at line 54 of file AsmToSourceMapper.h.

SgAsmFunctionDeclaration* const& AsmMappingInfo::relFun (  )  const [inline]

Definition at line 77 of file AsmToSourceMapper.h.

SgAsmFunctionDeclaration*& AsmMappingInfo::relFun (  )  [inline]

Definition at line 75 of file AsmToSourceMapper.h.

SgAsmInstruction* const& AsmMappingInfo::start (  )  const [inline]

Definition at line 82 of file AsmToSourceMapper.h.

SgAsmInstruction*& AsmMappingInfo::start (  )  [inline]

Definition at line 80 of file AsmToSourceMapper.h.


Member Data Documentation

SgAsmInstruction* AsmMappingInfo::end_ [private]

Definition at line 104 of file AsmToSourceMapper.h.

Referenced by end(), and operator=().

std::string AsmMappingInfo::fileName_ [private]

Definition at line 106 of file AsmToSourceMapper.h.

Referenced by fileName(), operator<(), and operator=().

int AsmMappingInfo::line_ [private]

Definition at line 107 of file AsmToSourceMapper.h.

Referenced by line(), and operator=().

SgAsmFunctionDeclaration* AsmMappingInfo::relFun_ [private]

Definition at line 101 of file AsmToSourceMapper.h.

Referenced by operator=(), and relFun().

SgAsmInstruction* AsmMappingInfo::start_ [private]

Definition at line 103 of file AsmToSourceMapper.h.

Referenced by operator=(), and start().


The documentation for this class was generated from the following file:
Generated on Tue Sep 15 14:48:48 2009 for RoseQtWidgets by  doxygen 1.4.7