#include <OSGBaseTypeTraits.h>

Public Types | |
| typedef Real32 | RealReturnType |
Static Public Member Functions | |
| static Int16 | getZeroElement (void) |
| static Int16 | getOneElement (void) |
| static Int16 | getMax (void) |
| static Int16 | getMin (void) |
| static Real32 | getFraction (Int16 val) |
| static Int16 | getPortion (Real32 val) |
| static Int16 | getFromString (const Char8 *szString) |
| static std::string | putToString (const Int16 val) |
Static Public Attributes | |
| static const bool | IsPOD = true |
| static const MathTypeProperties | MathProp = IntValue |
| static const Int16 | BitsSet = -1 |
| static const Int16 | BitsClear = 0x0000 |
Definition at line 380 of file OSGBaseTypeTraits.h.
| typedef Real32 osg::osg::TypeTraits< Int16 >::RealReturnType |
Definition at line 382 of file OSGBaseTypeTraits.h.
| static Int16 osg::osg::TypeTraits< Int16 >::getFromString | ( | const Char8 * | szString | ) | [inline, static] |
Definition at line 424 of file OSGBaseTypeTraits.h.
00425 { 00426 if(szString != NULL) 00427 { 00428 return Int16(strtol(szString, NULL, 0)); 00429 } 00430 else 00431 { 00432 return getZeroElement(); 00433 } 00434 }
Definition at line 436 of file OSGBaseTypeTraits.h.
00437 { 00438 Char8 buffer[10]; 00439 00440 sprintf(buffer, "%i", val); 00441 00442 return std::string(buffer); 00443 }
Definition at line 385 of file OSGBaseTypeTraits.h.
const MathTypeProperties osg::osg::TypeTraits< Int16 >::MathProp = IntValue [static] |
Definition at line 386 of file OSGBaseTypeTraits.h.
Definition at line 388 of file OSGBaseTypeTraits.h.
Definition at line 389 of file OSGBaseTypeTraits.h.
1.5.5