35 lines
846 B
C++
35 lines
846 B
C++
//-----------------------------------------------------------------------------+
|
|
// Copyright (C), 1998-2007, SH Software Co. Ltd.
|
|
// = FileName : SearchException 类
|
|
// = Version : ver2.0
|
|
// = Author : zjq
|
|
// = CreateDate : 2002-09-09
|
|
// = Description: SearchException 定义
|
|
// = Maintainers:
|
|
//
|
|
//-----------------------------------------------------------------------------+
|
|
#include "StdAfx.h"
|
|
#include "SearchException.h"
|
|
|
|
SearchException::SearchException(int nFlag, AcDbObjectId id)
|
|
{
|
|
m_nHowToDo = nFlag;
|
|
m_idObj = id;
|
|
}
|
|
SearchException::SearchException(int nFlag, Entity ent)
|
|
{
|
|
m_nHowToDo = nFlag;
|
|
acdbGetObjectId(m_idObj, ent.name);
|
|
}
|
|
|
|
SearchException::SearchException(const SearchException &src)
|
|
{
|
|
m_nHowToDo = src.m_nHowToDo;
|
|
m_idObj = src.m_idObj;
|
|
}
|
|
|
|
SearchException::~SearchException()
|
|
{
|
|
|
|
}
|