📄 rq_fpml_product_fxsingleleg.h
字号:
/*** rq_fpml_product_fxsingleleg.h**** Written by Brett Hutley - brett@hutley.net**** Copyright (C) 2001 Brett Hutley**** This file is part of the Risk Quantify Library**** Risk Quantify is free software; you can redistribute it and/or** modify it under the terms of the GNU Library General Public** License as published by the Free Software Foundation; either** version 2 of the License, or (at your option) any later version.**** Risk Quantify is distributed in the hope that it will be useful,** but WITHOUT ANY WARRANTY; without even the implied warranty of** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU** Library General Public License for more details.**** You should have received a copy of the GNU Library General Public** License along with Risk Quantify; if not, write to the Free** Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA*/#ifndef rq_fpml_product_fxsingleleg_h#define rq_fpml_product_fxsingleleg_h/* -- includes ----------------------------------------------------- */#include "rq_config.h"#include "rq_stream.h"#include "rq_defs.h"#include "rq_date.h"#include "fpml/rq_fpml_product.h"#include "fpml/rq_fpml_exchange_rate.h"/* -- globals ------------------------------------------------------ */extern const char *rq_fpml_product_fxsingleleg_product_type;/* -- prototypes --------------------------------------------------- */rq_fpml_product_t rq_fpml_product_fxsingleleg_alloc();const char *rq_fpml_product_fxsingleleg_get_payer_party_id(rq_fpml_product_t pr);void rq_fpml_product_fxsingleleg_set_payer_party_id(rq_fpml_product_t pr, const char *payer_party_id);const char *rq_fpml_product_fxsingleleg_get_receiver_party_id(rq_fpml_product_t pr);void rq_fpml_product_fxsingleleg_set_receiver_party_id(rq_fpml_product_t pr, const char *receiver_party_id);double rq_fpml_product_fxsingleleg_get_payer_amount(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_payer_amount(rq_fpml_product_t product, double payer_amount);const char *rq_fpml_product_fxsingleleg_get_payer_currency(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_payer_currency(rq_fpml_product_t product, const char *payer_currency);double rq_fpml_product_fxsingleleg_get_receiver_amount(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_receiver_amount(rq_fpml_product_t product, double receiver_amount);const char *rq_fpml_product_fxsingleleg_get_receiver_currency(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_receiver_currency(rq_fpml_product_t product, const char *receiver_currency);rq_date rq_fpml_product_fxsingleleg_get_value_date(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_value_date(rq_fpml_product_t product, rq_date value_date);struct rq_fpml_exchange_rate *rq_fpml_product_fxsingleleg_get_exchange_rate(rq_fpml_product_t product);void rq_fpml_product_fxsingleleg_set_exchange_rate(rq_fpml_product_t product, const char *currency1, const char *currency2, enum rq_quote_basis quote_basis, double rate);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -