[gme-users] a bug in BON::Attribute constructor?

Jane Lin liny at cis.uab.edu
Tue Apr 4 14:52:19 CDT 2006


MessageHi

When I tried this declaration in BON2Component.cpp:

BON::Attribute attr1

I got a linking error.

I think the reason is no implementation of the first constuctor of the BON::Attribute class (i.e., Attribute()). Is that right?

###############################################################################################################################################
//
//  C L A S S : BON::Attribute
//
//###############################################################################################################################################

 class Attribute
  : public Util::GenRefCounter
 {
  // Construction and Destruction
  public :
   Attribute();
   Attribute( AttributeImpl* pObject );
   Attribute( const Attribute& object );
   Attribute& operator = ( const Attribute& object );

  // Implementation access
  public :
   AttributeImpl* operator -> () const;
 };

---------------------------------------------------------------------------------
Yuehua (Jane) Lin
Department of Computer and Information Sciences
University of Alabama at Birmingham
liny at cis.uab.edu 
http://www.cis.uab.edu/liny


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.isis.vanderbilt.edu/pipermail/gme-users/attachments/20060404/f7dd2e70/attachment.htm


More information about the gme-users mailing list