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 <cstddef>`
`#include <cstdint>`
`#include <cstdlib>`
`#include <iostream>`
`#include <stdexcept>`
`#include <string>`
`#include <vector>`

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])