vtk-m/docs
Kenneth Moreland f3fa4f127a Allow FieldSelection to simultaneously include and exclude fields
The basic use of `FieldSelection` is to construct the class with a mode
(`None`, `Any`, `Select`, `Exclude`), and then specify particular fields
based off of this mode. This works fine for basic uses where the same code
that constructs a `FieldSelection` sets all the fields.

But what happens, for example, if you have code that takes an existing
`FieldSelection` and wants to exclude the field named `foo`? If the
`FieldSelection` mode happens to be anything other than `Exclude`, the code
would have to go through several hoops to construct a new `FieldSelection`
object with this modified selection.

To make this case easier, `FieldSelection` now has the ability to specify
the mode independently for each field. The `AddField` method now has an
optional mode argument the specifies whether the mode for that field should
be `Select` or `Exclude`.

In the example above, the code can simply add the `foo` field with the
`Exclude` mode. Regardless of whatever state the `FieldSelection` was in
before, it will now report the `foo` field as not selected.
2022-11-03 12:57:59 -06:00
..
changelog Allow FieldSelection to simultaneously include and exclude fields 2022-11-03 12:57:59 -06:00
batch_lsf.png ci: Add OLCF GitLab-CI 2021-12-15 13:00:47 -05:00
build_stage.png Update CONTRIBUTING.md to cover gitlab piplines 2020-03-26 13:40:47 -04:00
CI-README.md perftest: add perf regression test 2022-10-07 17:42:12 -04:00
CODEOWNERS Add CODEOWNERS to vtk-m to improve merge request reviewer suggestions 2020-02-11 12:53:07 -05:00
CodingConventions.md Fix formatting of CodingConventions.md. 2019-09-12 15:16:30 -04:00
external_stage.png Update CONTRIBUTING.md to cover gitlab piplines 2020-03-26 13:40:47 -04:00
HotFixGuide.md Update HotFixGuide.md 2022-05-30 14:13:58 -04:00
HPCBuilds.md Remove deprecated virtual methods 2022-10-28 10:56:52 -06:00
Modules.md Add module mechanism 2022-10-26 12:51:05 -06:00
NewRelease.md.tmpl NewRelease: update to reflect latest release workflow 2022-10-11 15:41:24 -04:00
perftest_arch.png perftest: add perf regression test 2022-10-07 17:42:12 -04:00
ReleaseProcess.md newrelease.md: templatize newrelease.md 2022-09-28 18:02:37 -04:00
ReleaseRoadmap.md doc: add release roadmap 2022-06-13 11:42:25 -04:00