<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD><TITLE>Message</TITLE>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋
}
@font-face {
        font-family: 新
}
@font-face {
        font-family: @宋
}
@font-face {
        font-family: @新
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
        page: Section1
}
</STYLE>
</HEAD>
<BODY lang=ZH-CN style="TEXT-JUSTIFY-TRIM: punctuation" vLink=purple link=blue
bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>When I tried this declaration in
BON2Component.cpp:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>BON::Attribute attr1</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I got a linking error.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>I think the reason is no implementation of the
first constuctor of the BON::Attribute class (i.e., Attribute()). Is that
right?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>###############################################################################################################################################<BR>//<BR>//
C L A S S :
BON::Attribute<BR>//<BR>//###############################################################################################################################################</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> class Attribute<BR> : public
Util::GenRefCounter<BR> {<BR> // Construction and
Destruction<BR> public
:<BR> Attribute();<BR> Attribute(
AttributeImpl* pObject );<BR> Attribute( const Attribute&
object );<BR> Attribute& operator = ( const Attribute&
object );</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> // Implementation
access<BR> public :<BR> AttributeImpl* operator
-> () const;<BR> };<BR></FONT></DIV>
<DIV>---------------------------------------------------------------------------------<BR>Yuehua
(Jane) Lin<BR>Department of Computer and Information Sciences<BR>University of
Alabama at Birmingham<BR><A href="mailto:liny@cis.uab.edu">liny@cis.uab.edu</A>
<BR><A href="http://www.cis.uab.edu/liny">http://www.cis.uab.edu/liny</A></DIV>
<DIV> </DIV>
<DIV> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px"><FONT
face=Arial size=2></FONT> </BLOCKQUOTE></BODY></HTML>