Make your own free website on Tripod.com
Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

IstrReferences Class Reference

#include <references.h>

List of all members.

Public Types

typedef TRefs::const_iterator iterator

Public Methods

void Add (vma_t from, vma_t to, enum FlowTypes type)
bool IsPresent (vma_t from, vma_t to) const
iterator beginReferenceTo (vma_t addr) const
iterator endReferenceTo (vma_t addr) const

Private Types

typedef std::set< IstrReference,
std::less< IstrReference > > 
TRefs

Private Attributes

TRefs refs


Member Typedef Documentation

typedef TRefs::const_iterator IstrReferences::iterator
 

Definition at line 55 of file references.h.

Referenced by CodeParser::_ReverseScan(), beginReferenceTo(), endReferenceTo(), and CodeParser::ExecuteComplexReferenceMemory().

typedef std::set< IstrReference,std::less<IstrReference> > IstrReferences::TRefs [private]
 

Definition at line 52 of file references.h.


Member Function Documentation

void IstrReferences::Add vma_t    from,
vma_t    to,
enum FlowTypes    type
 

Definition at line 33 of file references.cpp.

References FlowTypes, refs, and vma_t.

Referenced by CodeParser::CheckForAddress(), and CodeParser::ExtractTempRef().

00034 {
00035   refs.insert(IstrReference(from,to,true,type));
00036   refs.insert(IstrReference(to,from,false,type));
00037 }

IstrReferences::iterator IstrReferences::beginReferenceTo vma_t    addr const
 

Definition at line 44 of file references.cpp.

References iterator, refs, and vma_t.

Referenced by CodeParser::_ReverseScan(), CodeParser::AddExportTempFlow(), CodeParser::CheckReference(), and CodeParser::ExecuteComplexReferenceMemory().

00045 {
00046   return refs.lower_bound(IstrReference(addr,0));
00047 }

IstrReferences::iterator IstrReferences::endReferenceTo vma_t    addr const
 

Definition at line 49 of file references.cpp.

References iterator, refs, and vma_t.

Referenced by CodeParser::_ReverseScan(), CodeParser::AddExportTempFlow(), CodeParser::CheckReference(), and CodeParser::ExecuteComplexReferenceMemory().

00050 {
00051   return refs.lower_bound(IstrReference(addr+1,0));
00052 }

bool IstrReferences::IsPresent vma_t    from,
vma_t    to
const
 

Definition at line 39 of file references.cpp.

References refs, and vma_t.

Referenced by CodeParser::AddTempFlow().

00040 {
00041   return refs.find(IstrReference(from,to)) != refs.end();
00042 }


Member Data Documentation

TRefs IstrReferences::refs [private]
 

Definition at line 53 of file references.h.

Referenced by Add(), beginReferenceTo(), endReferenceTo(), and IsPresent().


The documentation for this class was generated from the following files:
Generated on Mon Jan 13 22:20:36 2003 for perdr by doxygen1.2.15