10 #include "ismrmrd/export.h" 48 present_ = o.present_;
68 const T* operator->()
const {
72 const T& operator*()
const {
76 operator bool()
const {
80 bool is_present()
const {
86 throw std::runtime_error(
"Access optional value, which has not been set");
92 const T&
get()
const {
94 throw std::runtime_error(
"Access optional value, which has not been set");
104 void set(
const T& v) {
137 std::string dependencyType;
138 std::string measurementID;
143 std::string referencedSOPInstanceUID;
151 std::string patientPosition;
155 std::vector<MeasurementDependency> measurementDependency;
158 std::vector<ReferencedImageSequence> referencedImageSequence;
163 unsigned short coilNumber;
164 std::string coilName;
174 std::vector<CoilLabel> coilLabel;
182 long int H1resonanceFrequency_Hz;
195 MatrixSize(
unsigned short x,
unsigned short y)
203 MatrixSize(
unsigned short x,
unsigned short y,
unsigned short z)
240 Limit(
unsigned short minimum,
unsigned short maximum,
unsigned short center)
248 unsigned short minimum;
249 unsigned short maximum;
250 unsigned short center;
289 std::vector<UserParameterLong> userParameterLong;
290 std::vector<UserParameterDouble> userParameterDouble;
291 std::vector<UserParameterString> userParameterString;
292 std::vector<UserParameterString> userParameterBase64;
297 std::string identifier;
298 std::vector<UserParameterLong> userParameterLong;
299 std::vector<UserParameterDouble> userParameterDouble;
305 unsigned short kspace_encoding_step_1;
306 unsigned short kspace_encoding_step_2;
316 enum class TrajectoryType {
330 TrajectoryType trajectory;
346 enum class WaveformType {
357 std::string waveformName;
358 WaveformType waveformType;
370 std::vector<Encoding> encoding;
373 std::vector<WaveformInformation> waveformInformation;
378 EXPORTISMRMRD
void deserialize(
const char* xml,
IsmrmrdHeader& h);
379 EXPORTISMRMRD
void serialize(
const IsmrmrdHeader& h, std::ostream& o);
383 #endif //ISMRMRDXML_H