Logo
Reference manual - version orea_version
Public Member Functions | List of all members
SimmNameMapper Class Referenceabstract
+ Inheritance diagram for SimmNameMapper:

Public Member Functions

virtual ~SimmNameMapper ()
 Destructor.
 
virtual std::string qualifier (const std::string &externalName) const =0
 
virtual bool hasQualifier (const std::string &externalName) const =0
 
virtual std::string externalName (const std::string &qualifier) const =0
 

Member Function Documentation

◆ qualifier()

virtual std::string qualifier ( const std::string &  externalName) const
pure virtual

Return the SIMM Qualifier for a given external name.

For example, an external name may be an ORE name for an equity. This should give back the SIMM Qualifier, i.e. in this case the ISIN in the form 'ISIN:XXXXXXXXXXXX' for that equity.

This method should always return a value, if hasQualifier is false it should return the input externalName

Implemented in SimmBasicNameMapper.

◆ hasQualifier()

virtual bool hasQualifier ( const std::string &  externalName) const
pure virtual

Return if this qualifier has a mapping or not

Implemented in SimmBasicNameMapper.

◆ externalName()

virtual std::string externalName ( const std::string &  qualifier) const
pure virtual

return the reverse lookup on qualifier

Implemented in SimmBasicNameMapper.