10 #include "ismrmrd/export.h" 47 const Optional& operator=(
const T& v) {
53 const T* operator->()
const {
57 const T& operator*()
const {
61 operator bool()
const {
65 bool is_present()
const {
71 throw std::runtime_error(
"Access optional value, which has not been set");
80 void set(
const T& v) {
113 std::string dependencyType;
114 std::string measurementID;
119 std::string referencedSOPInstanceUID;
127 std::string patientPosition;
131 std::vector<MeasurementDependency> measurementDependency;
134 std::vector<ReferencedImageSequence> referencedImageSequence;
139 unsigned short coilNumber;
140 std::string coilName;
150 std::vector<CoilLabel> coilLabel;
158 long int H1resonanceFrequency_Hz;
171 MatrixSize(
unsigned short x,
unsigned short y)
179 MatrixSize(
unsigned short x,
unsigned short y,
unsigned short z)
216 Limit(
unsigned short minimum,
unsigned short maximum,
unsigned short center)
224 unsigned short minimum;
225 unsigned short maximum;
226 unsigned short center;
265 std::vector<UserParameterLong> userParameterLong;
266 std::vector<UserParameterDouble> userParameterDouble;
267 std::vector<UserParameterString> userParameterString;
268 std::vector<UserParameterString> userParameterBase64;
273 std::string identifier;
274 std::vector<UserParameterLong> userParameterLong;
275 std::vector<UserParameterDouble> userParameterDouble;
281 unsigned short kspace_encoding_step_1;
282 unsigned short kspace_encoding_step_2;
297 std::string trajectory;
321 std::vector<Encoding> encoding;
328 EXPORTISMRMRD
void deserialize(
const char* xml,
IsmrmrdHeader& h);
329 EXPORTISMRMRD
void serialize(
const IsmrmrdHeader& h, std::ostream& o);
333 #endif //ISMRMRDXML_H