NPL
Neurological Programs and Libraries
npl::rgb_t Struct Reference

#include <npltypes.h>

Public Member Functions

 operator float () const
 
 operator double () const
 
 operator long double () const
 
 operator int64_t () const
 
 operator uint64_t () const
 
 operator int32_t () const
 
 operator uint32_t () const
 
 operator int16_t () const
 
 operator uint16_t () const
 
 operator int8_t () const
 
 operator uint8_t () const
 
 operator cquad_t () const
 
 operator cdouble_t () const
 
 operator cfloat_t () const
 
rgb_toperator= (float v)
 
rgb_toperator= (double v)
 
rgb_toperator= (long double v)
 
rgb_toperator= (int64_t v)
 
rgb_toperator= (uint64_t v)
 
rgb_toperator= (int32_t v)
 
rgb_toperator= (uint32_t v)
 
rgb_toperator= (int16_t v)
 
rgb_toperator= (uint16_t v)
 
rgb_toperator= (int8_t v)
 
rgb_toperator= (uint8_t v)
 
 rgb_t ()
 
 rgb_t (char r, char g, char b)
 
 rgb_t (float)
 
 rgb_t (double)
 
 rgb_t (long double)
 
 rgb_t (int64_t)
 
 rgb_t (uint64_t)
 
 rgb_t (int32_t)
 
 rgb_t (uint32_t)
 
 rgb_t (int16_t)
 
 rgb_t (uint16_t)
 
 rgb_t (int8_t)
 
 rgb_t (uint8_t)
 
 rgb_t (cquad_t)
 
 rgb_t (cdouble_t)
 
 rgb_t (cfloat_t)
 
 rgb_t (rgba_t)
 

Public Attributes

char red
 
char green
 
char blue
 

Detailed Description

Definition at line 173 of file npltypes.h.

Constructor & Destructor Documentation

npl::rgb_t::rgb_t ( )
inline

Definition at line 207 of file npltypes.h.

npl::rgb_t::rgb_t ( char  r,
char  g,
char  b 
)
inline

Definition at line 208 of file npltypes.h.

npl::rgb_t::rgb_t ( float  )
explicit
npl::rgb_t::rgb_t ( double  )
explicit
npl::rgb_t::rgb_t ( long  double)
explicit
npl::rgb_t::rgb_t ( int64_t  )
explicit
npl::rgb_t::rgb_t ( uint64_t  )
explicit
npl::rgb_t::rgb_t ( int32_t  )
explicit
npl::rgb_t::rgb_t ( uint32_t  )
explicit
npl::rgb_t::rgb_t ( int16_t  )
explicit
npl::rgb_t::rgb_t ( uint16_t  )
explicit
npl::rgb_t::rgb_t ( int8_t  )
explicit
npl::rgb_t::rgb_t ( uint8_t  )
explicit
npl::rgb_t::rgb_t ( cquad_t  )
explicit
npl::rgb_t::rgb_t ( cdouble_t  )
explicit
npl::rgb_t::rgb_t ( cfloat_t  )
explicit
npl::rgb_t::rgb_t ( rgba_t  )
explicit

Member Function Documentation

npl::rgb_t::operator cdouble_t ( ) const
explicit
npl::rgb_t::operator cfloat_t ( ) const
explicit
npl::rgb_t::operator cquad_t ( ) const
explicit
npl::rgb_t::operator double ( ) const
explicit
npl::rgb_t::operator float ( ) const
explicit
npl::rgb_t::operator int16_t ( ) const
explicit
npl::rgb_t::operator int32_t ( ) const
explicit
npl::rgb_t::operator int64_t ( ) const
explicit
npl::rgb_t::operator int8_t ( ) const
explicit
npl::rgb_t::operator long double ( ) const
explicit
npl::rgb_t::operator uint16_t ( ) const
explicit
npl::rgb_t::operator uint32_t ( ) const
explicit
npl::rgb_t::operator uint64_t ( ) const
explicit
npl::rgb_t::operator uint8_t ( ) const
explicit
rgb_t& npl::rgb_t::operator= ( float  v)
rgb_t& npl::rgb_t::operator= ( double  v)
rgb_t& npl::rgb_t::operator= ( long double  v)
rgb_t& npl::rgb_t::operator= ( int64_t  v)
rgb_t& npl::rgb_t::operator= ( uint64_t  v)
rgb_t& npl::rgb_t::operator= ( int32_t  v)
rgb_t& npl::rgb_t::operator= ( uint32_t  v)
rgb_t& npl::rgb_t::operator= ( int16_t  v)
rgb_t& npl::rgb_t::operator= ( uint16_t  v)
rgb_t& npl::rgb_t::operator= ( int8_t  v)
rgb_t& npl::rgb_t::operator= ( uint8_t  v)

Member Data Documentation

char npl::rgb_t::blue

Definition at line 177 of file npltypes.h.

char npl::rgb_t::green

Definition at line 176 of file npltypes.h.

char npl::rgb_t::red

Definition at line 175 of file npltypes.h.


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