Ariles
Classes | Namespaces | Macros | Variables
helpers.h File Reference

Detailed Description

Author
Alexander Sherikov

Definition in file helpers.h.

Go to the source code of this file.

#include <string>
#include <fstream>
#include <stdexcept>
#include <cmath>
#include <cstdlib>
#include <complex>
#include <boost/utility/enable_if.hpp>
#include <boost/type_traits/is_enum.hpp>
#include <boost/type_traits/is_base_of.hpp>
#include <boost/type_traits/is_floating_point.hpp>
#include <boost/smart_ptr/shared_ptr.hpp>
#include "build_config.h"
#include "cpput_config.h"
#include "cpput_exception.h"
#include "cpput_misc.h"
#include "cpput_visibility.h"
#include "cpput_trace.h"

Classes

class  ariles2::Ariles
 

Namespaces

 ariles2
 

Macros

#define ARILES2_IS_ENUM_ENABLER(Enum)   const typename boost::enable_if_c<(boost::is_enum<Enum>::value)>::type * = NULL
 
#define ARILES2_IS_FLOATING_POINT_ENABLER_TYPE(Real)   boost::enable_if_c<(boost::is_floating_point<Real>::value)>::type *
 
#define ARILES2_IS_BASE_OF(Base, Derived)   boost::is_base_of<Base, Derived>::value
 
#define ARILES2_IS_BASE_ENABLER(Base, Derived)   const typename boost::enable_if_c<(ARILES2_IS_BASE_OF(Base, Derived))>::type * = NULL
 
#define ARILES2_IS_BASE_DISABLER(Base, Derived)   const typename boost::enable_if_c<not(ARILES2_IS_BASE_OF(Base, Derived))>::type * = NULL
 
#define ARILES2_IS_ANY_OF(Type, Type1, Type2)
 
#define ARILES2_SHARED_PTR   boost::shared_ptr
 
#define CMAKEUT_COMPILER_SUPPORTS_FUNC_
 
#define ARILES2_EMPTY_MACRO
 
#define ARILES2_BASIC_SIGNED_INTEGER_TYPES_LIST
 
#define ARILES2_BASIC_UNSIGNED_INTEGER_TYPES_LIST
 
#define ARILES2_BASIC_INTEGER_TYPES_LIST
 
#define ARILES2_BASIC_REAL_TYPES_LIST
 
#define ARILES2_BASIC_NUMERIC_TYPES_LIST
 
#define ARILES2_COMPLEX_NUMBER_TYPES_LIST
 
#define ARILES2_BASIC_TYPES_LIST
 
#define ARILES2_VISIBILITY_ATTRIBUTE   ARILES2_LIB_EXPORT
 

Variables

template<class t_Pointer >
class ARILES2_VISIBILITY_ATTRIBUTE ariles2::PointerHandler
 

Macro Definition Documentation

◆ ARILES2_BASIC_INTEGER_TYPES_LIST

#define ARILES2_BASIC_INTEGER_TYPES_LIST
Value:
ARILES2_BASIC_SIGNED_INTEGER_TYPES_LIST \
ARILES2_BASIC_UNSIGNED_INTEGER_TYPES_LIST

Definition at line 114 of file helpers.h.

◆ ARILES2_BASIC_NUMERIC_TYPES_LIST

#define ARILES2_BASIC_NUMERIC_TYPES_LIST

◆ ARILES2_BASIC_REAL_TYPES_LIST

#define ARILES2_BASIC_REAL_TYPES_LIST
Value:
ARILES2_BASIC_TYPE(double)

Definition at line 118 of file helpers.h.

◆ ARILES2_BASIC_SIGNED_INTEGER_TYPES_LIST

#define ARILES2_BASIC_SIGNED_INTEGER_TYPES_LIST
Value:
ARILES2_BASIC_TYPE(short) \
ARILES2_BASIC_TYPE(long) \
ARILES2_BASIC_TYPE(char)

Definition at line 101 of file helpers.h.

◆ ARILES2_BASIC_TYPES_LIST

#define ARILES2_BASIC_TYPES_LIST
Value:

Definition at line 131 of file helpers.h.

◆ ARILES2_BASIC_UNSIGNED_INTEGER_TYPES_LIST

#define ARILES2_BASIC_UNSIGNED_INTEGER_TYPES_LIST
Value:
ARILES2_BASIC_TYPE(unsigned int) \
ARILES2_BASIC_TYPE(unsigned short) \
ARILES2_BASIC_TYPE(unsigned long) \
ARILES2_BASIC_TYPE(unsigned char)

Definition at line 107 of file helpers.h.

◆ ARILES2_COMPLEX_NUMBER_TYPES_LIST

#define ARILES2_COMPLEX_NUMBER_TYPES_LIST
Value:
ARILES2_BASIC_TYPE(std::complex<float>) \
ARILES2_BASIC_TYPE(std::complex<double>)

Definition at line 127 of file helpers.h.

◆ ARILES2_EMPTY_MACRO

#define ARILES2_EMPTY_MACRO

Definition at line 83 of file helpers.h.

◆ ARILES2_IS_ANY_OF

#define ARILES2_IS_ANY_OF (   Type,
  Type1,
  Type2 
)
Value:
const typename boost::enable_if_c< \
boost::is_base_of<Type1, Type>::value or boost::is_base_of<Type2, Type>::value>::type * = NULL

Definition at line 66 of file helpers.h.

◆ ARILES2_IS_BASE_DISABLER

#define ARILES2_IS_BASE_DISABLER (   Base,
  Derived 
)    const typename boost::enable_if_c<not(ARILES2_IS_BASE_OF(Base, Derived))>::type * = NULL

Definition at line 63 of file helpers.h.

◆ ARILES2_IS_BASE_ENABLER

#define ARILES2_IS_BASE_ENABLER (   Base,
  Derived 
)    const typename boost::enable_if_c<(ARILES2_IS_BASE_OF(Base, Derived))>::type * = NULL

Definition at line 60 of file helpers.h.

◆ ARILES2_IS_BASE_OF

#define ARILES2_IS_BASE_OF (   Base,
  Derived 
)    boost::is_base_of<Base, Derived>::value

Definition at line 58 of file helpers.h.

◆ ARILES2_IS_ENUM_ENABLER

#define ARILES2_IS_ENUM_ENABLER (   Enum)    const typename boost::enable_if_c<(boost::is_enum<Enum>::value)>::type * = NULL

Definition at line 52 of file helpers.h.

◆ ARILES2_IS_FLOATING_POINT_ENABLER_TYPE

#define ARILES2_IS_FLOATING_POINT_ENABLER_TYPE (   Real)    boost::enable_if_c<(boost::is_floating_point<Real>::value)>::type *

Definition at line 55 of file helpers.h.

◆ ARILES2_SHARED_PTR

#define ARILES2_SHARED_PTR   boost::shared_ptr

Definition at line 70 of file helpers.h.

◆ ARILES2_VISIBILITY_ATTRIBUTE

#define ARILES2_VISIBILITY_ATTRIBUTE   ARILES2_LIB_EXPORT

Definition at line 138 of file helpers.h.

◆ CMAKEUT_COMPILER_SUPPORTS_FUNC_

#define CMAKEUT_COMPILER_SUPPORTS_FUNC_

Definition at line 77 of file helpers.h.

ARILES2_BASIC_TYPE
#define ARILES2_BASIC_TYPE(type)
Definition: basic.h:384