Classes | Namespaces | Macros | Typedefs | Functions
types.h File Reference

Typedefs for easier changing of types. More...

#include <gtsam/dllexport.h>
#include <boost/concept/assert.hpp>
#include <boost/range/concepts.hpp>
#include <gtsam/config.h>
#include <cstddef>
#include <cstdint>
#include <exception>
#include <string>
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  gtsam::const_selector< TEST_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 
struct  gtsam::const_selector< BASIC_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 
struct  gtsam::const_selector< const BASIC_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 
class  gtsam::ListOfOneContainer< T >
 
struct  gtsam::needs_eigen_aligned_allocator< typename, typename >
 
struct  gtsam::needs_eigen_aligned_allocator< T, void_t< typename T::_eigen_aligned_allocator_trait > >
 
class  gtsam::TbbOpenMPMixedScope
 
struct  gtsam::ValueWithDefault< T, defaultValue >
 

Namespaces

 gtsam
 traits
 

Macros

#define assert_throw(CONDITION, EXCEPTION)
 
#define CLANG_DIAGNOSTIC_POP()
 
#define CLANG_DIAGNOSTIC_PUSH_IGNORE(diag)
 
#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW
 
#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)
 

Typedefs

typedef ptrdiff_t gtsam::DenseIndex
 The index type for Eigen objects. More...
 
typedef std::uint64_t gtsam::FactorIndex
 Integer nonlinear factor index type. More...
 
typedef std::uint64_t gtsam::Key
 Integer nonlinear key type. More...
 
template<typename... >
using gtsam::void_t = void
 Convenience void_t as we assume C++11, it will not conflict the std one in C++17 as this is in gtsam:: More...
 

Functions

 gtsam::BOOST_CONCEPT_ASSERT ((boost::RandomAccessRangeConcept< ListOfOneContainer< int > >))
 
std::string gtsam::demangle (const char *name)
 Pretty print Value type name. More...
 
template<typename T >
ListOfOneContainer< Tgtsam::ListOfOne (const T &element)
 

Detailed Description

Typedefs for easier changing of types.

Author
Richard Roberts
Date
Aug 21, 2010

Definition in file types.h.

Macro Definition Documentation

#define assert_throw (   CONDITION,
  EXCEPTION 
)
Value:
if (!(CONDITION)) { \
throw (EXCEPTION); \
}

An assertion that throws an exception if NDEBUG is not defined and evaluates to an empty statement otherwise.

Definition at line 186 of file types.h.

#define CLANG_DIAGNOSTIC_POP ( )

Definition at line 52 of file types.h.

#define CLANG_DIAGNOSTIC_PUSH_IGNORE (   diag)

Definition at line 46 of file types.h.

#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW
Value:
EIGEN_MAKE_ALIGNED_OPERATOR_NEW \
using _eigen_aligned_allocator_trait = void;

This marks a GTSAM object to require alignment. With this macro an object will automatically be allocated in aligned memory when one uses gtsam::make_shared. It reduces future misalignment problems that is hard to debug. See https://eigen.tuxfamily.org/dox/group__DenseMatrixManipulation__Alignement.html for detailed explanation.

Definition at line 269 of file types.h.

#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW_IF (   NeedsToAlign)
Value:
using _eigen_aligned_allocator_trait = void;
#define EIGEN_MAKE_ALIGNED_OPERATOR_NEW_IF(NeedsToAlign)
Definition: Memory.h:687

This marks a GTSAM object to require alignment. With this macro an object will automatically be allocated in aligned memory when one uses gtsam::make_shared. It reduces future misalignment problems that is hard to debug. See https://eigen.tuxfamily.org/dox/group__DenseMatrixManipulation__Alignement.html for detailed explanation.

Definition at line 278 of file types.h.



gtsam
Author(s):
autogenerated on Sat May 8 2021 02:51:43