33 #ifndef IOSS_Ioss_Property_h 34 #define IOSS_Ioss_Property_h 54 Property(std::string name, int64_t value,
bool is_it_implicit =
false);
55 Property(std::string name,
int value,
bool is_it_implicit =
false);
56 Property(std::string name,
double value,
bool is_it_implicit =
false);
57 Property(std::string name,
const std::string &value,
bool is_it_implicit =
false);
58 Property(std::string name,
void *value,
bool is_it_implicit);
116 bool get_value(std::string *value)
const;
void * pval
Definition: Ioss_Property.h:127
A named value that has a known type.
Definition: Ioss_Property.h:47
const GroupingEntity * ge
Definition: Ioss_Property.h:128
BasicType get_type() const
Get the property type.
Definition: Ioss_Property.h:108
The main namespace for the Ioss library.
Definition: Iocgns_DatabaseIO.h:50
int64_t ival
Definition: Ioss_Property.h:130
int64_t get_int() const
Get the property value if it is of type INTEGER.
Definition: Ioss_Property.C:199
bool is_implicit() const
Tells whether the property is calculated, rather than stored.
Definition: Ioss_Property.h:77
Base class for all 'grouping' entities. The following derived classes are typical: ...
Definition: Ioss_GroupingEntity.h:93
Data data_
Definition: Ioss_Property.h:132
Definition: Ioss_Property.h:50
bool get_value(int64_t *value) const
Definition: Ioss_Property.C:237
Definition: Ioss_Property.h:50
std::string get_name() const
Get the property name.
Definition: Ioss_Property.h:102
bool is_valid() const
Definition: Ioss_Property.h:89
Definition: Ioss_Property.h:50
BasicType type_
Definition: Ioss_Property.h:112
std::string name_
Definition: Ioss_Property.h:111
double get_real() const
Get the property value if it is of type REAL.
Definition: Ioss_Property.C:213
Definition: Ioss_Property.h:50
std::string get_string() const
Get the property value if it is of type STRING.
Definition: Ioss_Property.C:185
Property & operator=(Property rhs)
Definition: Ioss_Property.C:175
Definition: Ioss_Property.h:125
~Property()
Definition: Ioss_Property.C:168
bool is_invalid() const
Definition: Ioss_Property.h:96
double rval
Definition: Ioss_Property.h:129
bool is_explicit() const
Tells whether the property is stored, rather than calculated.
Definition: Ioss_Property.h:83
std::string name(Ioss::GroupingEntity *entity)
Definition: io_info.C:71
std::string * sval
Definition: Ioss_Property.h:126
Definition: Ioss_Property.h:50
std::vector< char > data
Definition: Ioss_Utils.C:78
Property()
Create an explicit, empty property having no name, INVALID type.
Definition: Ioss_Property.C:64
void * get_pointer() const
Get the property value if it is of type POINTER.
Definition: Ioss_Property.C:227
BasicType
Definition: Ioss_Property.h:50
bool isImplicit_
Definition: Ioss_Property.h:121