IOSS 2.0

Classes | Namespaces | Macros | Functions
Ioss_Utils.h File Reference
`#include <Ioss_CodeTypes.h>`
`#include <Ioss_Field.h>`
`#include <algorithm>`
`#include <cassert>`
`#include <cmath>`
`#include <cstddef>`
`#include <cstdint>`
`#include <cstdlib>`
`#include <iostream>`
`#include <stdexcept>`
`#include <string>`
`#include <vector>`
Include dependency graph for Ioss_Utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Classes
class | Ioss::Utils

## Namespaces
| Ioss
| The main namespace for the Ioss library.
| anonymous_namespace{Ioss_Utils.h}

## Macros
#define | TOPTR(x) (x.empty() ? nullptr : &x[0])
#define | IOSS_ERROR(errmsg) throw std::runtime_error(errmsg.str())
#define | IOSS_WARNING std::cerr

## Functions
template<typename T >
size_t | anonymous_namespace{Ioss_Utils.h}::unique (std::vector< T > &out, bool skip_first)

## Macro Definition Documentation

## ◆ IOSS_ERROR

#define IOSS_ERROR | ( |  | errmsg | ) | throw std::runtime_error(errmsg.str())

## ◆ IOSS_WARNING

#define IOSS_WARNING std::cerr

## ◆ TOPTR

#define TOPTR | ( |  | x | ) | (x.empty() ? nullptr : &x[0])