IOSS 2.0

Classes | Functions | Variables
Iodw::Utils Namespace Reference

## Classes
struct | ElemBlock
struct | Field
class | IossToDW
struct | Property
struct | RegionKeys

## Functions
void | msg (std::string m)
void | msg (int m)
void | msg (int64_t m)
void | msg (double m)
void | msg (float m)

## Variables
auto | print_Property
auto | print_Field

## Function Documentation

## ◆ msg() [1/5]

void Iodw::Utils::msg | ( | std::string | m | ) |

## ◆ msg() [2/5]

void Iodw::Utils::msg | ( | int | m | ) |

## ◆ msg() [3/5]

void Iodw::Utils::msg | ( | int64_t | m | ) |

## ◆ msg() [4/5]

void Iodw::Utils::msg | ( | double | m | ) |

## ◆ msg() [5/5]

void Iodw::Utils::msg | ( | float | m | ) |

## Variable Documentation

## ◆ print_Field

auto Iodw::Utils::print_Field

Initial value:
= [](Ioss::Field f) {
size_t size = f.get_size();
std::cout << f.raw_count() << std::endl;
}
Ioss::Field
Holds metadata for bulk data associated with a GroupingEntity.
Definition: Ioss_Field.h:47

## ◆ print_Property

auto Iodw::Utils::print_Property

Initial value:
= [](Ioss::Property p) {
auto type = p.get_type();
if (type == Ioss::Property::BasicType::STRING) {
msg(p.get_string());
}
else if (type == Ioss::Property::BasicType::INTEGER) {
msg(p.get_int());
}
else if (type == Ioss::Property::BasicType::REAL) {
msg(p.get_real());
}
else if (type == Ioss::Property::BasicType::POINTER) {
msg("pointer");
}
else if (type == Ioss::Property::BasicType::INVALID) {
msg("INVALID");
}
else {
msg("UNKNOWN type");
}
}
Ioss::Property
A named value that has a known type.
Definition: Ioss_Property.h:47
Iodw::Utils::msg
void msg(float m)
Definition: Iodw_Utils.C:58
Iogn::INVALID
Definition: Iogn_DashSurfaceMesh.h:48