Navigation

Operators and Keywords

Function List:

C++ API

octave_int< T > Class Template Reference

#include <oct-inttypes.h>

Inherits octave_int_base< T >.

Collaboration diagram for octave_int< T >:

List of all members.


Public Types

typedef T val_type

Public Member Functions

 octave_int (void)
 octave_int (T i)
 octave_int (double d)
 octave_int (float d)
 octave_int (bool b)
template<class U >
 octave_int (const U &i)
template<class U >
 octave_int (const octave_int< U > &i)
 octave_int (const octave_int< T > &i)
octave_intoperator= (const octave_int< T > &i)
T value (void) const
const unsigned char * iptr (void) const
bool operator! (void) const
bool bool_value (void) const
char char_value (void) const
double double_value (void) const
float float_value (void) const
 operator T (void) const
 operator double (void) const
 operator float (void) const
octave_int< Toperator+ () const
void * mex_get_data (void) const

Static Public Member Functions

static octave_int< Tmin (void)
static octave_int< Tmax (void)
static int nbits (void)
static int byte_size (void)
static const char * type_name ()

Static Public Attributes

static const octave_int zero
static const octave_int one

template<class T>
class octave_int< T >


Member Typedef Documentation

template<class T>
typedef T octave_int< T >::val_type


Constructor & Destructor Documentation

template<class T>
octave_int< T >::octave_int ( void   )  [inline]

template<class T>
octave_int< T >::octave_int ( T  i  )  [inline]

template<class T>
octave_int< T >::octave_int ( double  d  )  [inline]

template<class T>
octave_int< T >::octave_int ( float  d  )  [inline]

template<class T>
octave_int< T >::octave_int ( bool  b  )  [inline]

template<class T>
template<class U >
octave_int< T >::octave_int ( const U &  i  )  [inline]

template<class T>
template<class U >
octave_int< T >::octave_int ( const octave_int< U > &  i  )  [inline]

template<class T>
octave_int< T >::octave_int ( const octave_int< T > &  i  )  [inline]


Member Function Documentation

template<class T>
bool octave_int< T >::bool_value ( void   )  const [inline]

template<class T>
static int octave_int< T >::byte_size ( void   )  [inline, static]

template<class T>
char octave_int< T >::char_value ( void   )  const [inline]

template<class T>
double octave_int< T >::double_value ( void   )  const [inline]

template<class T>
float octave_int< T >::float_value ( void   )  const [inline]

template<class T>
const unsigned char* octave_int< T >::iptr ( void   )  const [inline]

template<class T>
static octave_int<T> octave_int< T >::max ( void   )  [inline, static]

template<class T>
void* octave_int< T >::mex_get_data ( void   )  const [inline]

template<class T>
static octave_int<T> octave_int< T >::min ( void   )  [inline, static]

template<class T>
static int octave_int< T >::nbits ( void   )  [inline, static]

template<class T>
octave_int< T >::operator double ( void   )  const [inline]

template<class T>
octave_int< T >::operator float ( void   )  const [inline]

template<class T>
octave_int< T >::operator T ( void   )  const [inline]

template<class T>
bool octave_int< T >::operator! ( void   )  const [inline]

template<class T>
octave_int<T> octave_int< T >::operator+ (  )  const [inline]

template<class T>
octave_int& octave_int< T >::operator= ( const octave_int< T > &  i  )  [inline]

template<class T>
static const char* octave_int< T >::type_name (  )  [static]

template<class T>
T octave_int< T >::value ( void   )  const [inline]


Member Data Documentation

template<class T>
const octave_int< T > octave_int< T >::one [inline, static]

template<class T>
const octave_int< T > octave_int< T >::zero [inline, static]


The documentation for this class was generated from the following files: