ORE Studio 0.0.4
Loading...
Searching...
No Matches
Classes | Functions
ores::refdata::domain Namespace Reference

Domain types for risk management. More...

Classes

struct  country
 Represents a country using ISO 3166-1 standard codes. More...
 
struct  currency
 Represents a currency with its metadata and formatting rules. More...
 
struct  currency_version
 Represents a specific version of a currency with metadata. More...
 
struct  currency_version_history
 Contains the full version history for a currency. More...
 

Functions

std::ostream & operator<< (std::ostream &s, const country &v)
 
std::string convert_to_table (const country &c)
 Converts a single country to table format string.
 
std::string convert_to_table (const std::vector< country > &v)
 Converts a vector of countries to table format string.
 
void print_country_table (std::ostream &s, const std::vector< country > &v)
 Prints countries to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< country > &v)
 Dumps the country objects to a stream in table format.
 
std::string convert_to_json (const currency &c)
 Converts a single currency to JSON format string.
 
std::string convert_to_json (const std::vector< currency > &v)
 Converts a vector of currencies to JSON format string.
 
std::ostream & operator<< (std::ostream &s, const currency &v)
 
std::string convert_to_table (const currency &c)
 Converts a single currency to table format string.
 
std::string convert_to_table (const std::vector< currency > &v)
 Converts a vector of currencies to table format string.
 
void print_currency_table (std::ostream &s, const std::vector< currency > &v)
 Prints currencies to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< currency > &v)
 Dumps the currency object to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const currency_version_history &v)
 
std::string convert_to_table (const std::vector< currency_version_history > &v)
 Converts currency version history to table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< currency_version_history > &v)
 Dumps the currency version history object to a stream in table format.
 
std::ostream & operator<< (std::ostream &s, const currency_version &v)
 
std::string convert_to_table (const std::vector< currency_version > &v)
 Converts currency version to table format.
 
std::ostream & operator<< (std::ostream &s, const std::vector< currency_version > &v)
 Dumps the currency version object to a stream in table format.
 

Detailed Description

Domain types for risk management.

Contains core entity types following ORE (Open Source Risk Engine) specifications including currency and related entities. Each type has corresponding JSON I/O and table I/O support.