version 1.0.0-rc.27
This commit is contained in:
1 parent
c3d6c280b8
commit
71290f374a
180 files changed
+841
-698
No files matched your search
@@ -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