Provides implementation of some common methods of the IPackageEntity interface.
You can find more information in comments below. Overrided methods can be found in corresponding base interface.
class CPackageEntity :public virtual IPackageEntity
{
public:
// Properties
IPackage *getPackage() override;
String getNamespace() override;
int getPlatformCount() override;
PlatformVersion getPlatform(const int index) override;
int getHeaderFileCount() override;
String getHeaderFile(const int index) override;
int getForwardDeclarationCount() override;
ForwardDeclaration getForwardDeclaration(const int index) override;
bool setNamespace(const String &value) override;
void Release() override;
CPackageEntity(
IPackage *package, // Package to which the entity belongs
const String &ns); // Namespace to which the entity belongs
virtual ~CPackageEntity() = default;
CPackageEntity *AddPlatform(const PlatformVersion &platform); // Add new platform to the list
CPackageEntity *AddHeaderFile(const String &value); // Add new header file to the list(use path relative to the Packages directory)
CPackageEntity *AddForwardDeclaration(const String &value, const String &header_file, const String &ns);
};
Namespace: | nitisa |
Include: | Nitisa/Package/Core/PackageEntity.h |