text: /**********************************************************************
  *  Copyright (c) 2008-2015, Alliance for Sustainable Energy.  
  *  All rights reserved.
  *  
  *  This library is free software; you can redistribute it and/or
  *  modify it under the terms of the GNU Lesser General Public
  *  License as published by the Free Software Foundation; either
  *  version 2.1 of the License, or (at your option) any later version.
  *  
  *  This library 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
  *  Lesser General Public License for more details.
  *  
  *  You should have received a copy of the GNU Lesser General Public
  *  License along with this library; if not, write to the Free Software
  *  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
  **********************************************************************/
  
  #ifndef UTILITIES_ECONOMICS_COSTLINEITEM_HPP
  #define UTILITIES_ECONOMICS_COSTLINEITEM_HPP
  
  #include <string>
  #include <vector>
  #include "../UtilitiesAPI.hpp"
  
  namespace openstudio{
  
  class UTILITIES_API CostLineItem {
  
    friend class CostObject;
  
  public:
    CostLineItem();
    virtual ~CostLineItem();
  
  protected:
    int expectedLife();
    void setExpectedLife(int expectedLife);
  
    double fixedOM();
    void setFixedOM(double fixedOM);
  
    double matCost();
    void setMatCost(double matCost);
  
    double installCost();
    void setInstallCost(double installCost);
  
    double salvageCost();
    void setSalvageCost(double salvageCost);
  
    double variableOM();
    void setVariableOM(double variableOM);
  
    std::string name();
    void setName(std::string name);
  
  private:
    int m_expectedLife; //years
    double m_fixedOM;
    double m_matCost;
    double m_installCost;
    double m_salvageCost;
    double m_variableOM;
    std::string m_name;
  
  };
  
  }
  
  #endif // UTILITIES_ECONOMICS_COSTLINEITEM_HPP
  