text: /******************************************************************************
  * Copyright (C) 2008 - Ikaro Games   www.ikarogames.com                       *
  *                                                                             *
  * This program is free software; you can redistribute it and/or               *
  * modify it under the terms of the GNU General Public License                 *
  * as published by the Free Software Foundation; either version 2              *
  * of the License, or (at your option) any later version.                      *
  *                                                                             *
  * 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               *
  * GNU General Public License for more details.                                *
  *                                                                             *
  * You should have received a copy of the GNU General Public License           *
  * along with this program; if not, write to the Free Software                 *
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. *
  *                                                                             *
  *                                                                             *
  *       generated by dia/DAOcodegen.py                                        *
  *       Version: 1.18                                                         *
  ******************************************************************************/
  
  #include <iostream>
  #include <sstream>
  #include <stdlib.h>
  
  #include "CPfGameOptions.h"
  
  CPfGameOptions::CPfGameOptions()
  {
      m_SCategory = "";
      m_XOption = "0";
      m_SValue = "";
      m_SAttribute = "";
  }
  
  CPfGameOptions::CPfGameOptions(const CPfGameOptions &obj)
  {
      m_SCategory = obj.m_SCategory;
      m_XOption = obj.m_XOption;
      m_SValue = obj.m_SValue;
      m_SAttribute = obj.m_SAttribute;
  }
  
  CPfGameOptions::~CPfGameOptions()
  {
  }
  
  const std::string& CPfGameOptions::getSCategory() const
  {
      return m_SCategory;
  }
  
  const std::string& CPfGameOptions::getSCategory_str() const
  {
      return m_SCategory;
  }
  
  int CPfGameOptions::getXOption() const
  {
      if( m_XOption=="" ){
          return 0;
      }else{
          return atoi(m_XOption.c_str());
      }
  }
  
  const std::string& CPfGameOptions::getXOption_str() const
  {
      return m_XOption;
  }
  
  const std::string& CPfGameOptions::getSValue() const
  {
      return m_SValue;
  }
  
  const std::string& CPfGameOptions::getSValue_str() const
  {
      return m_SValue;
  }
  
  const std::string& CPfGameOptions::getSAttribute() const
  {
      return m_SAttribute;
  }
  
  const std::string& CPfGameOptions::getSAttribute_str() const
  {
      return m_SAttribute;
  }
  
  void CPfGameOptions::setSCategory(const std::string &SCategory)
  {
      m_SCategory = SCategory;
  }
  
  void CPfGameOptions::setSCategory_str(const std::string &SCategory)
  {
      m_SCategory = SCategory;
  }
  
  void CPfGameOptions::setXOption(int XOption)
  {
      std::ostringstream stream;
      stream << XOption;
      m_XOption = stream.str();
  }
  
  void CPfGameOptions::setXOption_str(const std::string &XOption)
  {
      m_XOption = XOption;
  }
  
  void CPfGameOptions::setSValue(const std::string &SValue)
  {
      m_SValue = SValue;
  }
  
  void CPfGameOptions::setSValue_str(const std::string &SValue)
  {
      m_SValue = SValue;
  }
  
  void CPfGameOptions::setSAttribute(const std::string &SAttribute)
  {
      m_SAttribute = SAttribute;
  }
  
  void CPfGameOptions::setSAttribute_str(const std::string &SAttribute)
  {
      m_SAttribute = SAttribute;
  }
  
  