代码搜索:CObject
找到约 2,165 项符合「CObject」的源代码
代码结果 2,165
www.eeworm.com/read/125926/14455419
cpp odbctypeinfo.cpp
// ODBCTypeInfo.cpp: implementation of the CODBCTypeInfo class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MyOdbcSmpl.h"
#include "O
www.eeworm.com/read/224643/14578890
cpp student.cpp
// student.cpp
#include "stdafx.h"
#include "student.h"
IMPLEMENT_SERIAL(CStudent, CObject, 0)
CStudent::CStudent()
{
m_lGrade = 0;
}
CStudent::CStudent(const char* szName, long lGrad
www.eeworm.com/read/224278/14598423
cpp msg.cpp
// msg.cpp : implementation of the CMsg class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
//
www.eeworm.com/read/224278/14598468
cpp msg.cpp
// msg.cpp : implementation of the CMsg class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
//
www.eeworm.com/read/122710/14673101
h linedata.h
// item.h header file
/////////////////////////////////////
#ifndef __LINEDATA_H__
#define __LINEDATA_H__
#include "afxtempl.h"
#include
#include
#define LINE_BUFF
www.eeworm.com/read/122554/14684052
h registryserialize.h
// RegistrySerialize.h: interface for the CRegistrySerialize class.
//
////////////////////////////////////////////////////////////////////////////////
// Copyright (C) 2000 Tadeusz Dracz.
// Fo
www.eeworm.com/read/121943/14728965
txt 2.txt
自定义持久类
为了使一个类的对象成为持久的,可以自定义一个持久类,将持久性数据的存储和加载的工作交由自定义类自己去完成。这种处理方式也更加符合面向对象的程序设计要求。可以通过下面几个基本步骤来创建一个能序列化其成员变量的自定义持久类:
1. 直接或间接从<mark>CObject</mark>类派生出一个新类。
2. 在类的声明部分包含MFC的DECLARE_SERIAL宏,该宏只需要将类名作 ...
www.eeworm.com/read/121906/14730948
cpp msg.cpp
// msg.cpp : implementation of the CMsg class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
//
www.eeworm.com/read/121903/14731272
cpp msg.cpp
// msg.cpp : implementation of the CMsg class
//
// This is a part of the Microsoft Foundation Classes C++ library.
// Copyright (C) 1992-1997 Microsoft Corporation
// All rights reserved.
//
//