Commit ed312449 authored by claes's avatar claes

Function adefCid() added

parent 046d0456
/*
* Proview $Id: wb_attribute.cpp,v 1.38 2008-05-28 11:51:09 claes Exp $
* Proview $Id: wb_attribute.cpp,v 1.39 2008-06-26 13:18:01 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -767,3 +767,10 @@ void wb_attribute::name(wb_name *name)
{
}
pwr_tCid wb_attribute::adefCid()
{
if ( m_adrep)
return m_adrep->cid();
else
return 0;
}
/*
* Proview $Id: wb_attribute.h,v 1.23 2005-10-07 05:57:28 claes Exp $
* Proview $Id: wb_attribute.h,v 1.24 2008-06-26 13:18:01 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -133,6 +133,7 @@ public:
wb_adrep *adrep() { return m_adrep;}
void castId( pwr_tCastId *castid);
pwr_tDisableAttr disabled();
pwr_tCid adefCid();
private:
void check() const;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment