Classes | Functions

std Namespace Reference

Classes

struct  numeric_limits< claw::real_number< T > >

Functions

void swap (claw::graphic::gif &a, claw::graphic::gif &b)
 Swap the content of two gifs.
void swap (claw::graphic::image &a, claw::graphic::image &b)
 Swap the content of two images.
CLAW_LOGGER_EXPORT
claw::log_system
endl (claw::log_system &log)
template<typename T >
claw::real_number< T > abs (const claw::real_number< T > &v)
 Get the absolute value of a number.

Function Documentation

template<typename T >
claw::real_number< T > std::abs ( const claw::real_number< T > &  v )

Get the absolute value of a number.

Parameters:
vThe number.

Definition at line 292 of file real_number.tpp.

References claw::real_number< T >::abs().

Referenced by claw::real_number< T >::abs(), claw::real_number< T >::operator==(), and claw::make_epsilon< T >::value().

{
  return v.abs();
} // abs()
claw::log_system & std::endl ( claw::log_system log )

Definition at line 181 of file logger.cpp.

Referenced by claw::debug_assert(), claw::arguments_table::help(), claw::lendl(), and claw::graphic::xbm::writer::save_bits().

{
  (log << "\n").flush();
  return log;
} // endl()
void std::swap ( claw::graphic::gif a,
claw::graphic::gif b 
)

Swap the content of two gifs.

Parameters:
aThe gif to swap with b.
bThe gif to swap with a.

Definition at line 235 of file gif.cpp.

References claw::graphic::gif::swap().

Referenced by claw::graphic::image::flip(), claw::graphic::gif::operator=(), claw::avl_base< K, Comp >::swap(), and claw::graphic::gif::swap().

{
  a.swap(b);
} // swap()
void std::swap ( claw::graphic::image a,
claw::graphic::image b 
)

Swap the content of two images.

Parameters:
aThe image to swap with b.
bThe image to swap with a.

Definition at line 429 of file image.cpp.

References claw::graphic::image::swap().

{
  a.swap(b);
} // swap()