.Simulation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
MetadataName.h
1 // MetadataName.h - Metadata name class declaration.
2 // Written by Jesse Z. Zhong
3 #ifndef __Metadata_Name_H__
4 #define __Metadata_Name_H__
5 #pragma region Includes
6 #include "stdafx.h"
7 #include <QTextDocument>
8 using namespace std;
9 #pragma endregion
10 namespace DataVisualizerGUI {
11 
15  struct MetadataName {
16  public:
20  enum EName {
32  MD_AVG_DENSE
33  };
34 
38  MetadataName(QString complex = QString(),
39  QString simple = QString());
40 
41  QString Complex;
42  QString Simple;
43 
47  static const MetadataName GetName(MetadataName::EName name);
48 
52  static const int GetSize();
53 
57  static const map<EName, MetadataName> DisplayNames;
58 
59  protected:
63  static map<EName, MetadataName> InitDisplayNames();
64  };
65 
70 }
71 
72 #endif // !__Metadata_Name_H__
QString Simple
Short hand name of the item.
Definition: MetadataName.h:42
static const map< EName, MetadataName > DisplayNames
Mapping of metadata names to their display strings.
Definition: MetadataName.h:57
The maximum measured pressure from within the bubble.
Definition: MetadataName.h:24
The maximum measured energy from within the bubble.
Definition: MetadataName.h:28
Structure for storing the strings for representing metadata.
Definition: MetadataName.h:15
Time of the simulation.
Definition: MetadataName.h:21
The velocity of the bubble&#39;s compression or expansion.
Definition: MetadataName.h:23
The average measured temperature from within the bubble.
Definition: MetadataName.h:27
The maximum measured temperature from within the bubble.
Definition: MetadataName.h:26
The rate that fusion is occurring in the bubble.
Definition: MetadataName.h:30
The maximum measured density from within the bubble.
Definition: MetadataName.h:31
EName
Names of the metadata.
Definition: MetadataName.h:20
The bubble&#39;s radius from the center to the wall.
Definition: MetadataName.h:22
QString Complex
Full name of the item.
Definition: MetadataName.h:41
The average measured pressure from within the bubble.
Definition: MetadataName.h:25
The average measured energy from within the bubble.
Definition: MetadataName.h:29