OpenADFortTk (basic)
fortTkSupport::XAIFSymToSymbolMap Class Reference

#include <XAIFSymToSymbolMap.h>

Collaboration diagram for fortTkSupport::XAIFSymToSymbolMap:

List of all members.

Public Member Functions

 XAIFSymToSymbolMap ()
virtual ~XAIFSymToSymbolMap ()
SymbolFind (const char *scopeid, const char *symid) const
bool Insert (const char *scopeid, const char *symid, const Symbol *sym)
unsigned int GetSize () const

Static Public Member Functions

static std::string MakeKey (const char *scopeid, const char *symid)

Private Types

typedef std::map< std::string,
Symbol * > 
StringToSymMap
typedef StringToSymMap::iterator StringToSymMapIt
typedef
StringToSymMap::const_iterator 
StringToSymMapItC
typedef StringToSymMap::value_type StringToSymMapVal

Private Attributes

StringToSymMap strToSymMap

Detailed Description

Definition at line 17 of file XAIFSymToSymbolMap.h.


Member Typedef Documentation

typedef std::map<std::string, Symbol*> fortTkSupport::XAIFSymToSymbolMap::StringToSymMap [private]

Definition at line 38 of file XAIFSymToSymbolMap.h.

typedef StringToSymMap::iterator fortTkSupport::XAIFSymToSymbolMap::StringToSymMapIt [private]

Definition at line 39 of file XAIFSymToSymbolMap.h.

typedef StringToSymMap::const_iterator fortTkSupport::XAIFSymToSymbolMap::StringToSymMapItC [private]

Definition at line 40 of file XAIFSymToSymbolMap.h.

typedef StringToSymMap::value_type fortTkSupport::XAIFSymToSymbolMap::StringToSymMapVal [private]

Definition at line 41 of file XAIFSymToSymbolMap.h.


Constructor & Destructor Documentation


Member Function Documentation

Symbol * fortTkSupport::XAIFSymToSymbolMap::Find ( const char *  scopeid,
const char *  symid 
) const

Definition at line 28 of file XAIFSymToSymbolMap.cxx.

References MakeKey(), and strToSymMap.

Referenced by xaif2whirl::CreateST(), xaif2whirl::PUXlationContext::findSym(), and xaif2whirl::GetOrCreateSymbol().

Here is the call graph for this function:

unsigned int fortTkSupport::XAIFSymToSymbolMap::GetSize ( ) const [inline]

Definition at line 33 of file XAIFSymToSymbolMap.h.

References strToSymMap.

bool fortTkSupport::XAIFSymToSymbolMap::Insert ( const char *  scopeid,
const char *  symid,
const Symbol sym 
)

Definition at line 38 of file XAIFSymToSymbolMap.cxx.

References MakeKey(), and strToSymMap.

Referenced by xaif2whirl::GetOrCreateSymbol(), and xaif2whirl::xlate_Symbol().

Here is the call graph for this function:

std::string fortTkSupport::XAIFSymToSymbolMap::MakeKey ( const char *  scopeid,
const char *  symid 
) [static]

Definition at line 50 of file XAIFSymToSymbolMap.cxx.

Referenced by Find(), and Insert().


Member Data Documentation


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines