Package com.pixelmed.dicom
Class CompositeInstanceContext.Selector
- java.lang.Object
-
- com.pixelmed.dicom.CompositeInstanceContext.Selector
-
- Enclosing class:
- CompositeInstanceContext
public static class CompositeInstanceContext.Selector extends java.lang.Object
A class to select which entities are copied or propagated or removed or not during operations on CompositeInstanceContext.
-
-
Field Summary
Fields Modifier and Type Field Description boolean
equipment
boolean
frameOfReference
boolean
instance
boolean
patient
boolean
series
boolean
srDocumentGeneral
boolean
study
-
Constructor Summary
Constructors Constructor Description Selector(boolean allSelected)
Construct a selector with all modules selected or not selected.Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only modules named in arguments selected.
-
-
-
Constructor Detail
-
Selector
public Selector(boolean allSelected)
Construct a selector with all modules selected or not selected.
- Parameters:
allSelected
- true if all modules are selected rather than not selected on construction
-
Selector
public Selector(java.lang.String[] arg, java.util.ArrayList<java.lang.String> remainder)
Construct a selector with only modules named in arguments selected.
Used to decode selectors from command line arguments.
Strings recognized are -patient|-study|-equipment|-frameofreference|-series|-instance|srdocumentgeneral.
- Parameters:
arg
- command line argumentsremainder
- empty list to add remaining command line arguments after anything used was removed
-
-