NEST  2.6.0,not_revisioned_source_dir@0
Namespaces | Typedefs | Variables
nest.h File Reference

Default types used by the NEST kernel. More...

Go to the source code of this file.

Namespaces

 nest
 Class representing a synapse with Hill short term plasticity.
 

Typedefs

typedef long long nest::tic_t
 Type for Time tics. More...
 
typedef double nest::double_t
 Double precision floating point numbers. More...
 
typedef float nest::float_t
 Single precision floating point numbers. More...
 
typedef int nest::int_t
 Integer number with at least 16 bit. More...
 
typedef long nest::long_t
 Integer number with at least 32 bit. More...
 
typedef unsigned int nest::uint_t
 Unsigned int_t. More...
 
typedef unsigned long nest::ulong_t
 Unsigned long_t. More...
 
typedef size_t nest::index
 Unsigned long type for enumerations. More...
 
typedef unsigned char nest::synindex
 Unsigned char type for enumerations of synapse types. More...
 
typedef unsigned short nest::targetindex
 Unsigned short type for compact target representation. More...
 
typedef int_t nest::thread
 Thread index type. More...
 
typedef long_t nest::rport
 Connection port number to distinguish incoming connections, also called receiver port. More...
 
typedef long_t nest::port
 Connection port number to distinguis outgoing connections. More...
 
typedef double_t nest::weight
 Weight of a connection. More...
 
typedef long_t nest::delay
 Delay of a connection. More...
 

Variables

const tic_t nest::tic_t_max = LONG_LONG_MAX
 
const tic_t nest::tic_t_min = LONG_LONG_MIN
 
const long_t nest::long_t_max = LONG_MAX
 
const long_t nest::long_t_min = LONG_MIN
 
const index nest::invalid_index = std::numeric_limits<index>::max()
 
const synindex nest::invalid_synindex = std::numeric_limits<synindex>::max()
 
const targetindex nest::invalid_targetindex = std::numeric_limits<targetindex>::max()
 
const index nest::max_targetindex = invalid_targetindex - 1
 
const thread nest::invalid_thread_ = -1
 Value for invalid connection port number. More...
 
const rport nest::invalid_port_ = -1
 Value for invalid connection port number. More...
 
const long_t nest::delay_max = long_t_max
 
const long_t nest::delay_min = long_t_min
 

Detailed Description

Default types used by the NEST kernel.

These typedefs should be used in place of the primitive C/C++ types. Thus, it will be easy to change the precision of the kernel or to adapt the kernel to different architectures (e.g. 32 or 64 bit).