AComplexCollectionElement.h
In This Topic
#ifndef _CardinalityLib_CardinalityLib_CAComplexCollectionElement_h
#define _CardinalityLib_CardinalityLib_CAComplexCollectionElement_h
namespace CardinalityLib { class CClassFactory; };
namespace CardinalityLib
{
class CardinalityLib_DLL CAComplexCollectionElement : public CInstanceMonitor
, public virtual CardinalityLib::CXmlCommonBase
{
public:
static CardinalityLib::CAComplexCollectionElementPtr CreateInstance(LPCTSTR lpctElementName=_T("AComplexCollectionElement"));
protected:
CAComplexCollectionElement(LPCTSTR lpctElementName=_T("AComplexCollectionElement"));
virtual ~CAComplexCollectionElement();
friend class CardinalityLib::CClassFactory;
virtual void Init();
virtual void AccessProperty(int iPropertyIndex, bool read, LtXmlLib20::LtVariant& rValue);
virtual LtXmlLib20Data::CParentElementInfo* GetClassInfo() const;
virtual LtXmlLib20Data::CElementInfo** GetClassElementInfo() const;
virtual LtXmlLib20Data::CAttributeInfo** GetClassAttributeInfo() const;
static void CleanMetaData();
void Cleanup();
virtual void OnEvent(LtXmlLib20::CXmlObjectBase* pMsgSource, LtXmlLib20::IEventSink::MsgType eMsgType, void* pData);
public:
std::tstring GetChildItem() const;
void SetChildItem(std::tstring val);
protected:
std::tstring m_ChildItem;
public:
virtual CardinalityLib::CAComplexCollectionElementPtr Clone() const;
virtual std::tstring GetTargetNamespace() const;
virtual std::tstring GetNamespace() const;
virtual LtXmlLib20::CXmlObjectBase* GetBase();
// Internal data for XML serialization
private:
static LtXmlLib20Data::CParentElementInfo* ms_pParentElementInfo;
static LtXmlLib20Data::CElementInfo** ms_ppElementInfo;
static LtXmlLib20Data::CAttributeInfo** ms_ppAttributeInfo;
};
};
#endif