⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 caccount.cpp

📁 软件的名称:AA制用餐管理系统 软件的功能:管理消费中产生的费用
💻 CPP
字号:
/***********************************************************************
 * Module:  CAccount.cpp
 * Author:  Administrator
 * Modified: 2008年8月31日 20:10:27
 * Purpose: Implementation of the class CAccount
 * Comment: 帐户信息
 ***********************************************************************/

#include "CAccount.h"
#include <vector>
/*全局变量*/
vector<CAccount> accountlist;
int CountAccount =1;
////////////////////////////////////////////////////////////////////////
CAccount::CAccount()
{
	m_money =0.0;
}
////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_id()
// Purpose:    Implementation of CAccount::getM_id()
// Return:     int
////////////////////////////////////////////////////////////////////////

int CAccount::Getid(void)
{
   return m_id;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_id(int newM_id)
// Purpose:    Implementation of CAccount::setM_id()
// Parameters:
// - newM_id
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setid(int id)
{
   m_id = id;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_name()
// Purpose:    Implementation of CAccount::getM_name()
// Return:     string
////////////////////////////////////////////////////////////////////////

string CAccount::Getname(void)
{
   return m_name;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_name(string newM_name)
// Purpose:    Implementation of CAccount::setM_name()
// Parameters:
// - newM_name
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setname(string name)
{
   m_name = name;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_sex()
// Purpose:    Implementation of CAccount::getM_sex()
// Return:     char
////////////////////////////////////////////////////////////////////////

char CAccount::Getsex(void)
{
   return m_sex;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_sex(char newM_sex)
// Purpose:    Implementation of CAccount::setM_sex()
// Parameters:
// - newM_sex
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setsex(char sex)
{
   m_sex = sex;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_mobilephone()
// Purpose:    Implementation of CAccount::getM_mobilephone()
// Return:     string
////////////////////////////////////////////////////////////////////////

string CAccount::Getmobilephone(void)
{
   return m_mobilephone;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_mobilephone(string newM_mobilephone)
// Purpose:    Implementation of CAccount::setM_mobilephone()
// Parameters:
// - newM_mobilephone
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setmobilephone(string mobilephone)
{
   m_mobilephone = mobilephone;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_birthday()
// Purpose:    Implementation of CAccount::getM_birthday()
// Return:     CDate
////////////////////////////////////////////////////////////////////////

CDate CAccount::Getbirthday(void)
{
   return m_birthday;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_birthday(CDate newM_birthday)
// Purpose:    Implementation of CAccount::setM_birthday()
// Parameters:
// - newM_birthday
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setbirthday(CDate birthday)
{
   m_birthday = birthday;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_money()
// Purpose:    Implementation of CAccount::getM_money()
// Return:     double
////////////////////////////////////////////////////////////////////////

double CAccount::Getmoney(void)
{
   return m_money;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_money(double newM_money)
// Purpose:    Implementation of CAccount::setM_money()
// Parameters:
// - newM_money
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setmoney(double money)
{
   m_money = money;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::getM_isstop()
// Purpose:    Implementation of CAccount::getM_isstop()
// Return:     bool
////////////////////////////////////////////////////////////////////////

bool CAccount::Getisstop(void)
{
   return m_isstop;
}

////////////////////////////////////////////////////////////////////////
// Name:       CAccount::setM_isstop(bool newM_isstop)
// Purpose:    Implementation of CAccount::setM_isstop()
// Parameters:
// - newM_isstop
// Return:     void
////////////////////////////////////////////////////////////////////////

void CAccount::Setisstop(bool isstop)
{
   m_isstop = isstop;
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -