1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This Source Code Form is subject to the terms of the Mozilla Public
4  * License, v. 2.0. If a copy of the MPL was not distributed with this
5  * file, You can obtain one at http://mozilla.org/MPL/2.0/.
6  */
7 
8 #include "ods_session_data.hpp"
9 
10 #include <limits>
11 
12 namespace orcus {
13 
formula_result()14 ods_session_data::formula_result::formula_result() :
15     type(rt_none), numeric_value(std::numeric_limits<double>::quiet_NaN()) {}
16 
formula(spreadsheet::sheet_t _sheet,spreadsheet::row_t _row,spreadsheet::col_t _col,spreadsheet::formula_grammar_t _grammar,const pstring & _exp)17 ods_session_data::formula::formula(
18     spreadsheet::sheet_t _sheet, spreadsheet::row_t _row, spreadsheet::col_t _col,
19     spreadsheet::formula_grammar_t _grammar, const pstring& _exp) :
20     sheet(_sheet), row(_row), column(_col), grammar(_grammar), exp(_exp) {}
21 
named_exp(const pstring & _name,const pstring & _expression,const pstring & _base,named_exp_type _type,spreadsheet::sheet_t _scope)22 ods_session_data::named_exp::named_exp(
23     const pstring& _name, const pstring& _expression, const pstring& _base, named_exp_type _type, spreadsheet::sheet_t _scope) :
24     name(_name), expression(_expression), base(_base), type(_type), scope(_scope) {}
25 
~ods_session_data()26 ods_session_data::~ods_session_data() {}
27 
28 }
29 
30 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
31