Go to the documentation of this file.
7 #ifndef IOSS_Ioss_Property_h
8 #define IOSS_Ioss_Property_h
110 bool get_value(std::string *value)
const;
112 bool get_value(std::vector<double> *value)
const;
113 bool get_value(std::vector<int> *value)
const;
int64_t ival
Definition: Ioss_Property.h:122
@ POINTER
Definition: Ioss_Property.h:26
~Property()
Definition: Ioss_Property.C:170
std::vector< int > get_vec_int() const
Get the property value if it is of type VEC_INT.
Definition: Ioss_Property.C:221
@ EXTERNAL
Definition: Ioss_Property.h:31
@ STRING
Definition: Ioss_Property.h:26
bool is_explicit() const
Tells whether the property is stored, rather than calculated.
Definition: Ioss_Property.h:73
bool is_invalid() const
Definition: Ioss_Property.h:86
The main namespace for the Ioss library.
Definition: Ioad_DatabaseIO.C:40
std::vector< double > * dvec
Definition: Ioss_Property.h:123
@ IMPLICIT
Definition: Ioss_Property.h:29
std::vector< double > get_vec_double() const
Get the property value if it is of type VEC_DOUBLE.
Definition: Ioss_Property.C:207
@ INTEGER
Definition: Ioss_Property.h:26
@ VEC_DOUBLE
Definition: Ioss_Property.h:26
BasicType
Definition: Ioss_Property.h:26
void * get_pointer() const
Get the property value if it is of type POINTER.
Definition: Ioss_Property.C:263
Origin get_origin() const
Definition: Ioss_Property.h:61
void set_origin(Origin origin)
Definition: Ioss_Property.h:60
@ INVALID
Definition: Ioss_Property.h:26
@ ATTRIBUTE
Definition: Ioss_Property.h:32
Origin origin_
Definition: Ioss_Property.h:106
std::vector< int > * ivec
Definition: Ioss_Property.h:124
BasicType get_type() const
Get the property type.
Definition: Ioss_Property.h:98
int64_t get_int() const
Get the property value if it is of type INTEGER.
Definition: Ioss_Property.C:235
Definition: Ioss_Property.h:117
std::string * sval
Definition: Ioss_Property.h:118
bool is_implicit() const
Tells whether the property is calculated, rather than stored.
Definition: Ioss_Property.h:67
@ REAL
Definition: Ioss_Property.h:26
Data data_
Definition: Ioss_Property.h:126
Origin
Definition: Ioss_Property.h:27
bool get_value(int64_t *value) const
Definition: Ioss_Property.C:273
BasicType type_
Definition: Ioss_Property.h:102
@ VEC_INTEGER
Definition: Ioss_Property.h:26
bool is_valid() const
Definition: Ioss_Property.h:79
double rval
Definition: Ioss_Property.h:121
std::string get_name() const
Get the property name.
Definition: Ioss_Property.h:92
void * pval
Definition: Ioss_Property.h:119
std::string name_
Definition: Ioss_Property.h:101
@ INTERNAL
Definition: Ioss_Property.h:28
std::string get_string() const
Get the property value if it is of type STRING.
Definition: Ioss_Property.C:193
std::string name(const Ioss::GroupingEntity *entity)
Definition: io_info.C:65
const GroupingEntity * ge
Definition: Ioss_Property.h:120
Property & operator=(Property rhs)
Definition: Ioss_Property.C:183
A named value that has a known type.
Definition: Ioss_Property.h:24
Base class for all 'grouping' entities. The following derived classes are typical:
Definition: Ioss_GroupingEntity.h:68
double get_real() const
Get the property value if it is of type REAL.
Definition: Ioss_Property.C:249