gtsam  3.2.1
gtsam
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
types.h File Reference

Typedefs for easier changing of types. More...

Go to the source code of this file.

Classes

struct  gtsam::const_selector< TEST_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 Helper class that uses templates to select between two types based on whether TEST_TYPE is const or not. More...
 
struct  gtsam::const_selector< BASIC_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 Specialization for the non-const version. More...
 
struct  gtsam::const_selector< const BASIC_TYPE, BASIC_TYPE, AS_NON_CONST, AS_CONST >
 Specialization for the const version. More...
 
struct  gtsam::ValueWithDefault< T, defaultValue >
 Helper struct that encapsulates a value with a default, this is just used as a member object so you don't have to specify defaults in the class constructor. More...
 
class  gtsam::ListOfOneContainer< T >
 A helper class that behaves as a container with one element, and works with boost::range. More...
 
class  gtsam::ThreadsafeException< DERIVED >
 Base exception type that uses tbb_exception if GTSAM is compiled with TBB. More...
 
class  gtsam::RuntimeErrorThreadsafe
 Threadsafe runtime error exception. More...
 
class  gtsam::OutOfRangeThreadsafe
 Threadsafe runtime error exception. More...
 
class  gtsam::InvalidArgumentThreadsafe
 Threadsafe invalid argument exception. More...
 
class  gtsam::TbbOpenMPMixedScope
 An object whose scope defines a block where TBB and OpenMP parallelism are mixed. More...
 

Namespaces

 gtsam
 Global functions in a separate testing namespace.
 

Macros

#define CLANG_DIAGNOSTIC_PUSH_IGNORE(diag)
 
#define CLANG_DIAGNOSTIC_POP()
 
#define assert_throw(CONDITION, EXCEPTION)
 An assertion that throws an exception if NDEBUG is not defined and evaluates to an empty statement otherwise. More...
 

Typedefs

typedef size_t gtsam::Key
 Integer nonlinear key type.
 
typedef boost::function
< std::string(Key)> 
gtsam::KeyFormatter
 Typedef for a function to format a key, i.e. to convert it to a string.
 
typedef ptrdiff_t gtsam::DenseIndex
 The index type for Eigen objects.
 

Functions

std::string gtsam::_defaultKeyFormatter (Key key)
 
 gtsam::BOOST_CONCEPT_ASSERT ((boost::RandomAccessRangeConcept< ListOfOneContainer< int > >))
 
template<typename T >
ListOfOneContainer< T > gtsam::ListOfOne (const T &element)
 Factory function for ListOfOneContainer to enable ListOfOne(e) syntax. More...
 

Detailed Description

Typedefs for easier changing of types.

Author
Richard Roberts
Date
Aug 21, 2010

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.