Interface for feature_collection_t constructor
Create a feature collection from a single feature_config_t The feature becomes the base configuration for all OS/compiler combinations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(feature_config_t), | intent(in) | :: | self |
Feature configuration to convert |
Feature configuration data
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(feature_config_t), | public | :: | base | ||||
| type(feature_config_t), | public, | allocatable | :: | variants(:) |
Interface for feature_collection_t constructor
| public function collection_from_feature (self) | Create a feature collection from a single feature_config_t The feature becomes the base configuration for all OS/compiler combinations |
| procedure, public :: check => check_collection | |
| generic, public :: dump => dump_to_toml, dump_to_file, dump_to_unit | |
| procedure, public :: dump_to_toml => feature_collection_dump | |
| procedure, public :: extract_for_target | |
| procedure, public :: has_cpp | |
| generic, public :: load => load_from_toml, load_from_file, load_from_unit | |
| procedure, public :: load_from_toml => feature_collection_load | |
| procedure, public :: merge_into_package | |
| generic, public :: operator(==) => serializable_is_same | |
| procedure, public :: push_variant | |
| procedure, public :: serializable_is_same => feature_collection_same | |
| procedure, public, non_overridable :: test_serialization | Test load/write roundtrip |
Create a feature collection from a single feature_config_t The feature becomes the base configuration for all OS/compiler combinations
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(feature_config_t), | intent(in) | :: | self |
Feature configuration to convert |
Add default features to existing features array if they don’t already exist
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(feature_collection_t), | intent(inout), | allocatable | :: | features(:) |
Instance of the feature collections array (will be resized) |
|
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
Get default feature collections (debug and release)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(feature_collection_t), | intent(out), | allocatable | :: | collections(:) |
Feature collections array to populate (debug and release) |
|
| type(error_t), | intent(out), | allocatable | :: | error |
Error handling |
Initialize multiple feature collections from manifest features table
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(feature_collection_t), | intent(out), | allocatable | :: | collections(:) | ||
| type(toml_table), | intent(inout) | :: | table | |||
| type(error_t), | intent(out), | allocatable | :: | error |