STRUCT
HeadersList
Contents
- Properties
list
- Methods
init(list:)headers(_:)headers(public:private:project:mappingsDir:exclusionRule:compilationCondition:)allHeaders(from:umbrella:private:mappingsDir:compilationCondition:)onlyHeaders(from:umbrella:private:mappingsDir:compilationCondition:)
swift
public struct HeadersList: Codable, EquatableProperties
list
swift
public var list: [Headers]Methods
init(list:)
swift
public init(list: [Headers])headers(_:)
swift
public static func headers(_ list: [Headers]) -> HeadersListheaders(public:private:project:mappingsDir:exclusionRule:compilationCondition:)
swift
public static func headers(
public: HeaderFileList? = nil,
private: HeaderFileList? = nil,
project: HeaderFileList? = nil,
mappingsDir: FilePath? = nil,
exclusionRule: Headers.AutomaticExclusionRule = .projectExcludesPrivateAndPublic,
compilationCondition: PlatformCondition? = nil
) -> HeadersListallHeaders(from:umbrella:private:mappingsDir:compilationCondition:)
swift
public static func allHeaders(
from list: HeaderFileList,
umbrella: FilePath,
private privateHeaders: HeaderFileList? = nil,
mappingsDir: FilePath? = nil,
compilationCondition: PlatformCondition? = nil
) -> HeadersListHeaders from the file list are included as:
public, if the header is present in the umbrella headerprivate, if the header is present in theprivatelistproject, otherwise- Parameters:
- from: File list, which contains
publicandprojectheaders - umbrella: File path to the umbrella header
- private: File list, which contains
privateheaders
- from: File list, which contains
Parameters
| Name | Description |
|---|---|
| from | File list, which contains public and project headers |
| umbrella | File path to the umbrella header |
| private | File list, which contains private headers |
onlyHeaders(from:umbrella:private:mappingsDir:compilationCondition:)
swift
public static func onlyHeaders(
from list: HeaderFileList,
umbrella: FilePath,
private privateHeaders: HeaderFileList? = nil,
mappingsDir: FilePath? = nil,
compilationCondition: PlatformCondition? = nil
) -> HeadersListHeaders from the file list are included as:
public, if the header is present in the umbrella headerprivate, if the header is present in theprivatelist- not included, otherwise
- Parameters:
- from: File list, which contains
publicandprojectheaders - umbrella: File path to the umbrella header
- private: File list, which contains
privateheaders
- from: File list, which contains
Parameters
| Name | Description |
|---|---|
| from | File list, which contains public and project headers |
| umbrella | File path to the umbrella header |
| private | File list, which contains private headers |
