The description of a Property of an Element. More...
#include <header.h>
Public Member Functions | |
Property () | |
The default constructor. | |
Property (const char *n, const Variable_type &t, const Scalar_type &dt, const Scalar_type &st=StartType) | |
The instantiated constructor. More... | |
Public Attributes | |
std::string | name |
The name of the Property. | |
Variable_type | type |
Whether this Property is a scalar, list, or string. | |
Scalar_type | data_type |
How the data of this Property is stored in the file. | |
Scalar_type | size_type |
How the list size is stored in the file. | |
bool | store |
Whether to store this Property. | |
The description of a Property of an Element.
Each Element contains a number of Properties. These Properties should be described in the Header.
|
inline |
The instantiated constructor.
This constructor is mainly for ease of use when describing new Properties.
n | the name. |
t | the type of the property. |
dt | the type of the data. |
st | the type of the list size. |