Basic implementation of the IPackageListItem interface. We suggest to use it as a base class for your package list items.
You can find more information in comments below. Overrided methods can be found in corresponding base class or interface.
class CPackageListItem :public virtual IPackageListItem, public CPackageEntity
{
public:
void Save(Variant &dest, IPropertyList *properties) override;
void Load(const Variant &src, IPropertyList *properties) override;
void Load(const String &src, IPropertyList *properties) override;
void Export(std::wofstream &f, const String &shift, const String &owner, IPropertyList *properties) override;
CPackageListItem(
IPackage *package, // Package to which the entity belongs
const String &ns); // Namespace to which the entity belongs
};
Namespace: | nitisa |
Include: | Nitisa/Core/PackageListItem.h |