代码搜索:CObject
找到约 2,165 项符合「CObject」的源代码
代码结果 2,165
www.eeworm.com/read/175578/9540870
h addrlist.h
//addrlist.h
class CAddrlist : public CObject
{
public:
DECLARE_SERIAL(CAddrlist)
CString Name;
CString Address;
CString Tel;
CTime Birth;
CAddrlist();
virtual void Ser
www.eeworm.com/read/165443/10062257
cpp shape.cpp
//shape图形类
//Shape.cpp
//包含的头文件
#include "stdafx.h"
#include "Coordinate.h" //
#include "Shape.h"
//类实现
IMPLEMENT_SERIAL(Shape,CObject,1)
Shape::Shape(){
}
Shape::~Shape(){
www.eeworm.com/read/165443/10062265
h statement.h
//Statement注释类
//Statement.h
//包含的头文件
//#include "coordinate.h"
//类定义
class Statement:public CObject{ //继承于CObject类
DECLARE_SERIAL(Statement)
private:
CPoint aP; //注释区域
www.eeworm.com/read/165443/10062315
h shape.h
//图形shape类
//Shape.h
//包含的头文件
//类定义
class Shape:public CObject{ //继承于CObject类
DECLARE_SERIAL(Shape)
protected:
CString expression; //图形的表达式
public:
Shape();
~Shape();
virt
www.eeworm.com/read/280828/10290840
h stabs.h
// ------- stabs.h
#ifndef STABS_H
#define STABS_H
#include
class CStab : public CObject {
bool hasstabs;
public:
CStab(const std::string& filename);
bool TestStabs() const {
www.eeworm.com/read/355074/10295612
h ncmessage.h
#pragma once
// CNCMessage 命令目标
class CNCMessage : public CObject
{
public:
CNCMessage();
virtual ~CNCMessage();
public:
virtual void Serialize(CArchive& ar);
public:
CString m_strMe
www.eeworm.com/read/350121/10767492
cpp myclass.cpp
#include "stdafx.h"
#include "MyClass.h"
IMPLEMENT_DYNAMIC(CMyClass, CObject)
void CMyClass::SomeFunction(void)
{
CObject* pObject=new CMyClass; // 下面判断对象的类是否为类CMyClass
if(pObject->IsKi
www.eeworm.com/read/349896/10792896
cpp ex020104.cpp
// Ex020104.cpp : Defines the entry point for the application.
//
#include "stdafx.h"
class CObject ;//先声明一下
//CObjectEx的定义
class CObjectEx
{
//...
private:
ULONG m_iID ;//无符号长整型ID
p
www.eeworm.com/read/273056/10930131
cpp ticketsalingdoc.cpp
// TicketSalingDoc.cpp : implementation of the CTicketSalingDoc class
//
#include "stdafx.h"
#include "TicketSaling.h"
#include "TicketSalingDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#un