version 1.0.0-rc.27
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
|
||||
InstrumentMetadata::InstrumentMetadata() {
|
||||
pulsed_source = false;
|
||||
electron_source = false;
|
||||
}
|
||||
|
||||
InstrumentMetadata &InstrumentMetadata::SourceName(const std::string &input) {
|
||||
@@ -28,6 +29,15 @@ InstrumentMetadata &InstrumentMetadata::PulsedSource(bool input) {
|
||||
return *this;
|
||||
}
|
||||
|
||||
InstrumentMetadata & InstrumentMetadata::ElectronSource(bool input) {
|
||||
electron_source = input;
|
||||
return *this;
|
||||
}
|
||||
|
||||
bool InstrumentMetadata::IsElectronSource() const {
|
||||
return electron_source;
|
||||
}
|
||||
|
||||
std::string InstrumentMetadata::GetSourceName() const {
|
||||
return source_name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user