Rocstar  1.0
Rocstar multiphysics simulation application
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
type< T > Struct Template Reference

#include <CImg.h>

Static Public Member Functions

static const char * string ()
 
static bool is_float ()
 
static T min ()
 
static T max ()
 
static const char * format ()
 
static const char * format (const T val)
 

Detailed Description

template<typename T>
struct cimg_library::cimg::type< T >

Definition at line 2084 of file CImg.h.

Member Function Documentation

static const char* format ( )
inlinestatic

Definition at line 2096 of file CImg.h.

2096 { return "%s"; }
static const char* format ( const T  val)
inlinestatic

Definition at line 2097 of file CImg.h.

References s.

2097 { static const char *s = "unknown"; return s; }
double s
Definition: blastest.C:80
static bool is_float ( )
inlinestatic

Definition at line 2093 of file CImg.h.

2093 { return false; }
static T max ( void  )
inlinestatic
static T min ( )
inlinestatic

Definition at line 2094 of file CImg.h.

Referenced by CImg< uintT >::blur_anisotropic(), CImg< uintT >::draw_plasma(), and CImg< uintT >::get_dilate().

2094 { return (T)-1>0?(T)0:(T)-1<<(8*sizeof(T)-1); }

Here is the caller graph for this function:

static const char* string ( )
inlinestatic

Definition at line 2085 of file CImg.h.

References s.

Referenced by data_declarations::length(), makenumberedkeys(), CImg< uintT >::pixel_type(), CImgList< uintT >::pixel_type(), and select_bbx().

2085  {
2086  static const char* s[] = { "unknown", "unknown8", "unknown16", "unknown24",
2087  "unknown32", "unknown40", "unknown48", "unknown56",
2088  "unknown64", "unknown72", "unknown80", "unknown88",
2089  "unknown96", "unknown104", "unknown112", "unknown120",
2090  "unknown128" };
2091  return s[(sizeof(T)<17)?sizeof(T):0];
2092  }
double s
Definition: blastest.C:80

Here is the caller graph for this function:


The documentation for this struct was generated from the following file: