IlsDynAttributeFactory
 
IlsDynAttributeFactory
Category 
Dynamic modeling class
Inheritance Path 
IlsDynAttributeFactory
Description 
This class is used by Rogue Wave® Server to instantiate a new dynamic attribute. To create your own factory, make a subclass of this class and install it using the member function Rogue Wave® DB Link.
Library 
<dynmvsvr>
Header File
#include <ilserver/dynobj.h>
Synopsis 
class IlsDynAttributeFactory
{
public:
virtual IlsDynAttribute* newDerivedAttribute
(IlsDynObject& obj,
const IlsAttributeDef& a);
virtual IlsDynAttribute* newEntryAttribute
(IlsDynObject& obj,
const IlsAttributeDef& a,
IlsMvValue& defValue);
virtual IlsDynAttribute* newAttribute
(IlsDynObject& obj,
const IlsAttributeDef& a,
IlsMvValue& defValue)
virtual IlsDynAttribute* newStaticAttribute
(const IlsAttributeDef& a,
IlsMvValue& defValue);
};
Member Functions 
[virtual] IlsDynAttribute* newDerivedAttribute(IlsDynObject& obj,
const IlsAttributeDef& a);
This virtual member function returns a new instance of a derived dynamic attribute (IlsDynDerived).
[virtual] IlsDynAttribute* newEntryAttribute(IlsDynObject& obj,
const IlsAttributeDef& a,
IlsMvValue& defValue);
This virtual member function returns a new instance of an entry dynamic attribute (IlsDynEntry).
[virtual] IlsDynAttribute* newAttribute(IlsDynObject& obj,
const IlsAttributeDef& a,
IlsMvValue& defValue);
This virtual member function returns a new instance of a simple dynamic attribute (IlsDynSimpleAttribute).
[virtual] IlsDynAttribute* newStaticAttribute(const IlsAttributeDef& a,
IlsMvValue& defValue);
This virtual member function returns a new instance of a simple dynamic attribute (IlsDynSimpleAttribute).
See Also 
IlsDynAttribute, IlsDynAttributes, IlsDynRelationFactory

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.