#include <OSGBaseTypeTraits.h>

Public Types | |
| typedef Real32 | RealReturnType |
Static Public Member Functions | |
| static UInt32 | getZeroElement (void) |
| static UInt32 | getOneElement (void) |
| static UInt32 | getMax (void) |
| static UInt32 | getMin (void) |
| static Real32 | getFraction (UInt32 val) |
| static UInt32 | getPortion (Real32 val) |
| static UInt32 | getFromString (const Char8 *szString) |
| static std::string | putToString (const UInt32 val) |
Static Public Attributes | |
| static const bool | IsPOD = true |
| static const MathTypeProperties | MathProp = IntValue |
| static const UInt32 | BitsSet = 0xFFFFFFFF |
| static const UInt32 | BitsClear = 0x00000000 |
Definition at line 451 of file OSGBaseTypeTraits.h.
| typedef Real32 osg::osg::TypeTraits< UInt32 >::RealReturnType |
Definition at line 453 of file OSGBaseTypeTraits.h.
| static UInt32 osg::osg::TypeTraits< UInt32 >::getFromString | ( | const Char8 * | szString | ) | [inline, static] |
Definition at line 495 of file OSGBaseTypeTraits.h.
00496 { 00497 if(szString != NULL) 00498 { 00499 return UInt32(strtoul(szString, NULL, 0)); 00500 } 00501 else 00502 { 00503 return getZeroElement(); 00504 } 00505 }
| static std::string osg::osg::TypeTraits< UInt32 >::putToString | ( | const UInt32 | val | ) | [inline, static] |
Definition at line 507 of file OSGBaseTypeTraits.h.
00508 { 00509 Char8 buffer[15]; 00510 00511 sprintf(buffer, "%u", val); 00512 00513 return std::string(buffer); 00514 }
Definition at line 456 of file OSGBaseTypeTraits.h.
const MathTypeProperties osg::osg::TypeTraits< UInt32 >::MathProp = IntValue [static] |
Definition at line 457 of file OSGBaseTypeTraits.h.
Definition at line 459 of file OSGBaseTypeTraits.h.
Definition at line 460 of file OSGBaseTypeTraits.h.
1.5.5