gensrc.addins.excel Namespace Reference

Classes

class  ExcelAddin
 

Variables

int MAXLEN = 255
 
int MAXPARAM = 30
 
int NUMDESC = 10
 
int MAXUSERPARAM = MAXPARAM - NUMDESC
 
string REGLINE = ' TempStrNoSize("\\x%02X""%s")%s'
 
string UNREGISTER
 
int MAX_LEN_PARAMLIST = 232
 
string LOOP_INCLUDES
 
string CELL_MAX_COL_ID = "XFD"
 
int CELL_MAX_COL_NUM = 16384
 
int CELL_MAX_ROW_NUM = 1048576
 
 CELL_NAME_REGEX = re.compile(r'(?P<colLabel>[A-Z]+)(?P<rowLabel>\d+)', re.I)
 
string COL_TO_NUM = "_" + string.ascii_lowercase
 

Detailed Description

 Copyright (C) 2005 Aurelien Chanudet
 Copyright (C) 2005 Plamen Neykov
 Copyright (C) 2005, 2006, 2007, 2008 Eric Ehlers

 This file is part of QuantLib, a free-software/open-source library
 for financial quantitative analysts and developers - http://quantlib.org/

 QuantLib is free software: you can redistribute it and/or modify it
 under the terms of the QuantLib license.  You should have received a
 copy of the license along with this program; if not, please email
 <quantlib-dev@lists.sf.net>. The license is also available online at
 <http://quantlib.org/license.shtml>.

 This program 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 license for more details.

Variable Documentation

◆ LOOP_INCLUDES

string gensrc.addins.excel.LOOP_INCLUDES
Initial value:
1 = '''\
2 #include <%s/loop/loop_%s.hpp>
3 #include <ohxl/loop.hpp>\n'''

◆ UNREGISTER

string gensrc.addins.excel.UNREGISTER
Initial value:
1 = '''
2  Excel4(xlfRegisterId, &xlRegID, 2, &xDll,
3  TempStrNoSize("\\x%02X""%s"));
4  Excel4(xlfUnregister, 0, 1, &xlRegID);\n'''