Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | List of all members
SimmNameMapper Class Referenceabstract

#include <orea/simm/simmnamemapper.hpp>

+ Inheritance diagram for SimmNameMapper:
+ Collaboration diagram for SimmNameMapper:

Public Member Functions

virtual ~SimmNameMapper ()
 Destructor. More...
 
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
 

Detailed Description

Definition at line 31 of file simmnamemapper.hpp.

Constructor & Destructor Documentation

◆ ~SimmNameMapper()

virtual ~SimmNameMapper ( )
virtual

Destructor.

Definition at line 34 of file simmnamemapper.hpp.

34{}

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.