engine
 
载入中...
搜索中...
未找到
Public 成员函数 | 所有成员列表
IBuildManifest类 参考abstract

Interface to a Build Manifest. 更多...

#include <IBuildManifest.h>

Public 成员函数

virtual void CopyCustomFields (const IBuildManifestRef &Other, bool bClobber)=0
 Copy the custom fields from another manifest into this one. 更多...
 
virtual IBuildManifestRef Duplicate () const =0
 Duplicated this manifest to create a copy. 更多...
 
virtual uint32 GetAppID () const =0
 Get the App ID that this manifest belongs to 更多...
 
virtual const FString & GetAppName () const =0
 Get the name of the App that this manifest belongs to 更多...
 
virtual TArray< FString > GetBuildFileList () const =0
 Get the list of files in this build. 更多...
 
virtual TArray< FString > GetBuildFileList (const TSet< FString > &Tags) const =0
 Get the list of files in this build which match a tag from a given set. 更多...
 
virtual int64 GetBuildSize () const =0
 Get the size of this build 更多...
 
virtual int64 GetBuildSize (const TSet< FString > &Tags) const =0
 Get the size of the build of this set of tags 更多...
 
virtual const IManifestFieldPtr GetCustomField (const FString &FieldName) const =0
 Get a custom field from the manifest 更多...
 
virtual int64 GetDeltaDownloadSize (const TSet< FString > &Tags, const IBuildManifestRef &PreviousVersion) const =0
 Get the size of the download of this set of tags 更多...
 
virtual int64 GetDeltaDownloadSize (const TSet< FString > &Tags, const IBuildManifestRef &PreviousVersion, const TSet< FString > &PreviousTags) const =0
 Get the size of the download of this set of tags 更多...
 
virtual int64 GetDownloadSize () const =0
 Get the size of this download, assuming fresh install 更多...
 
virtual int64 GetDownloadSize (const TSet< FString > &Tags) const =0
 Get the size of the download of this set of tags 更多...
 
virtual int64 GetFileSize (const FString &Filename) const =0
 Returns the size of a particular file in the build 更多...
 
virtual int64 GetFileSize (const TArray< FString > &Filenames) const =0
 Returns the total size of all files in the array 更多...
 
virtual int64 GetFileSize (const TSet< FString > &Filenames) const =0
 Returns the total size of all files in the set 更多...
 
virtual TSet< FString > GetFileTagList () const =0
 Get the list of install tags in this manifest 更多...
 
virtual void GetFileTagList (TSet< FString > &Tags) const =0
 Get the list of install tags in this manifest 更多...
 
virtual const FString & GetLaunchCommand () const =0
 Get the command line arguments that the launch exe should be ran with 更多...
 
virtual const FString & GetLaunchExe () const =0
 Get the local install path to the exe that launches the App 更多...
 
virtual void GetOutdatedFiles (const IBuildManifestRef &OldManifest, TSet< FString > &OutdatedFiles) const =0
 Gets a list of files that were installed with the Old Manifest, but no longer required by this Manifest. 更多...
 
virtual const FString & GetPrereqArgs () const =0
 Get the command line arguments that should be passed to the prerequisites installer 更多...
 
virtual const TSet< FString > & GetPrereqIds () const =0
 Get the list of prereq ids that the prereq installer of this manifest satisfies 更多...
 
virtual const FString & GetPrereqName () const =0
 Get the name of the prerequisites installer for the app 更多...
 
virtual const FString & GetPrereqPath () const =0
 Get the path to the prerequisites installer exe 更多...
 
virtual void GetRemovableFiles (const IBuildManifestRef &OldManifest, TArray< FString > &RemovableFiles) const =0
 Gets a list of files that were installed with the Old Manifest, but no longer required by this Manifest. 更多...
 
virtual void GetRemovableFiles (const TCHAR *InstallPath, TArray< FString > &RemovableFiles) const =0
 Gets a list of files that are installed in InstallPath, but no longer required by this Manifest. 更多...
 
virtual const FString & GetVersionString () const =0
 Get the string App version that this manifest describes 更多...
 
virtual bool NeedsResaving () const =0
 Checks the manifest format version to see if this manifest was loaded from latest data 更多...
 
virtual void RemoveCustomField (const FString &FieldName)=0
 Remove a custom field from the manifest 更多...
 
virtual const IManifestFieldPtr SetCustomField (const FString &FieldName, const FString &Value)=0
 Various functions for setting a custom field in the manifest 更多...
 
virtual ~IBuildManifest ()
 Virtual destructor.
 

详细描述

Interface to a Build Manifest.

成员函数说明

◆ CopyCustomFields()

virtual void IBuildManifest::CopyCustomFields ( const IBuildManifestRef &  Other,
bool  bClobber 
)
pure virtual

Copy the custom fields from another manifest into this one.

If this manifest has custom fields, matching keys will be overwritten but extras will remain

参数
OtherThe manifest to copy from
bClobberWhether to overwrite any already existing fields

◆ Duplicate()

virtual IBuildManifestRef IBuildManifest::Duplicate ( ) const
pure virtual

Duplicated this manifest to create a copy.

Should be used if storing a received manifest as an installed manifest which would then be unique

返回
A shared ref to the new manifest

◆ GetAppID()

virtual uint32 IBuildManifest::GetAppID ( ) const
pure virtual

Get the App ID that this manifest belongs to

返回
the app ID

◆ GetAppName()

virtual const FString & IBuildManifest::GetAppName ( ) const
pure virtual

Get the name of the App that this manifest belongs to

返回
the app name

◆ GetBuildFileList() [1/2]

virtual TArray< FString > IBuildManifest::GetBuildFileList ( ) const
pure virtual

Get the list of files in this build.

Filenames are all relative to an install directory

返回
an array containing build files

◆ GetBuildFileList() [2/2]

virtual TArray< FString > IBuildManifest::GetBuildFileList ( const TSet< FString > &  Tags) const
pure virtual

Get the list of files in this build which match a tag from a given set.

Filenames are all relative to an install directory

参数
TagsThe set of tags to query
返回
an array containing build files

◆ GetBuildSize() [1/2]

virtual int64 IBuildManifest::GetBuildSize ( ) const
pure virtual

Get the size of this build

返回
the build size in bytes

◆ GetBuildSize() [2/2]

virtual int64 IBuildManifest::GetBuildSize ( const TSet< FString > &  Tags) const
pure virtual

Get the size of the build of this set of tags

参数
TagsIN A list of the tags we want to know the size of
返回
the build size of the tags in bytes

◆ GetCustomField()

virtual const IManifestFieldPtr IBuildManifest::GetCustomField ( const FString &  FieldName) const
pure virtual

Get a custom field from the manifest

参数
FieldNameThe name of the custom field
返回
An interface to the field

◆ GetDeltaDownloadSize() [1/2]

virtual int64 IBuildManifest::GetDeltaDownloadSize ( const TSet< FString > &  Tags,
const IBuildManifestRef &  PreviousVersion 
) const
pure virtual

Get the size of the download of this set of tags

参数
TagsIN The tags used for installation, will be applied to both manifests
PreviousVersionIN The manifest for previous version to compare against
返回
the minimum download size required in bytes

◆ GetDeltaDownloadSize() [2/2]

virtual int64 IBuildManifest::GetDeltaDownloadSize ( const TSet< FString > &  Tags,
const IBuildManifestRef &  PreviousVersion,
const TSet< FString > &  PreviousTags 
) const
pure virtual

Get the size of the download of this set of tags

参数
TagsIN The tags used for installation
PreviousVersionIN The manifest for previous version to compare against
PreviousTagsIN The tags used for previous installation
返回
the minimum download size required in bytes

◆ GetDownloadSize() [1/2]

virtual int64 IBuildManifest::GetDownloadSize ( ) const
pure virtual

Get the size of this download, assuming fresh install

返回
the total download size in bytes

◆ GetDownloadSize() [2/2]

virtual int64 IBuildManifest::GetDownloadSize ( const TSet< FString > &  Tags) const
pure virtual

Get the size of the download of this set of tags

参数
TagsIN A list of the tags we want to know the size of
返回
the download size of the tags in bytes

◆ GetFileSize() [1/3]

virtual int64 IBuildManifest::GetFileSize ( const FString &  Filename) const
pure virtual

Returns the size of a particular file in the build

参数
FilenameThe file.
返回
the file size.

◆ GetFileSize() [2/3]

virtual int64 IBuildManifest::GetFileSize ( const TArray< FString > &  Filenames) const
pure virtual

Returns the total size of all files in the array

参数
FilenamesThe array of files.
返回
the total size of files in array.

◆ GetFileSize() [3/3]

virtual int64 IBuildManifest::GetFileSize ( const TSet< FString > &  Filenames) const
pure virtual

Returns the total size of all files in the set

参数
FilenamesThe set of files.
返回
the total size of files in set.

◆ GetFileTagList() [1/2]

virtual TSet< FString > IBuildManifest::GetFileTagList ( ) const
pure virtual

Get the list of install tags in this manifest

返回
the tags referenced.

◆ GetFileTagList() [2/2]

virtual void IBuildManifest::GetFileTagList ( TSet< FString > &  Tags) const
pure virtual

Get the list of install tags in this manifest

参数
TagsOUT Receives the tags referenced.

◆ GetLaunchCommand()

virtual const FString & IBuildManifest::GetLaunchCommand ( ) const
pure virtual

Get the command line arguments that the launch exe should be ran with

返回
the launch command line

◆ GetLaunchExe()

virtual const FString & IBuildManifest::GetLaunchExe ( ) const
pure virtual

Get the local install path to the exe that launches the App

返回
local path to the launch exe

◆ GetOutdatedFiles()

virtual void IBuildManifest::GetOutdatedFiles ( const IBuildManifestRef &  OldManifest,
TSet< FString > &  OutdatedFiles 
) const
pure virtual

Gets a list of files that were installed with the Old Manifest, but no longer required by this Manifest.

参数
OldManifestIN The Build Manifest that is currently installed.
RemovableFilesOUT A list to receive the files that may be removed.

◆ GetPrereqArgs()

virtual const FString & IBuildManifest::GetPrereqArgs ( ) const
pure virtual

Get the command line arguments that should be passed to the prerequisites installer

返回
the prerequisites installer command line arguments

◆ GetPrereqIds()

virtual const TSet< FString > & IBuildManifest::GetPrereqIds ( ) const
pure virtual

Get the list of prereq ids that the prereq installer of this manifest satisfies

返回
the set containing the prereq ids.

◆ GetPrereqName()

virtual const FString & IBuildManifest::GetPrereqName ( ) const
pure virtual

Get the name of the prerequisites installer for the app

返回
the prerequisites installer name

◆ GetPrereqPath()

virtual const FString & IBuildManifest::GetPrereqPath ( ) const
pure virtual

Get the path to the prerequisites installer exe

返回
local path to the prerequisites installer

◆ GetRemovableFiles() [1/2]

virtual void IBuildManifest::GetRemovableFiles ( const IBuildManifestRef &  OldManifest,
TArray< FString > &  RemovableFiles 
) const
pure virtual

Gets a list of files that were installed with the Old Manifest, but no longer required by this Manifest.

参数
OldManifestIN The Build Manifest that is currently installed.
RemovableFilesOUT A list to receive the files that may be removed.

◆ GetRemovableFiles() [2/2]

virtual void IBuildManifest::GetRemovableFiles ( const TCHAR *  InstallPath,
TArray< FString > &  RemovableFiles 
) const
pure virtual

Gets a list of files that are installed in InstallPath, but no longer required by this Manifest.

参数
InstallPathIN The path to the currently installed files.
RemovableFilesOUT A list to receive the files that may be removed.

◆ GetVersionString()

virtual const FString & IBuildManifest::GetVersionString ( ) const
pure virtual

Get the string App version that this manifest describes

返回
the version string

◆ NeedsResaving()

virtual bool IBuildManifest::NeedsResaving ( ) const
pure virtual

Checks the manifest format version to see if this manifest was loaded from latest data

返回
True if the manifest was created from the latest format

◆ RemoveCustomField()

virtual void IBuildManifest::RemoveCustomField ( const FString &  FieldName)
pure virtual

Remove a custom field from the manifest

参数
FieldNameThe name of the custom field

◆ SetCustomField()

virtual const IManifestFieldPtr IBuildManifest::SetCustomField ( const FString &  FieldName,
const FString &  Value 
)
pure virtual

Various functions for setting a custom field in the manifest

参数
FieldNameThe name of the custom field
ValueThe value for the field
返回
An interface to the field that was created

该类的文档由以下文件生成: