NvParameterized::Hint Class Reference
Provides hints about the parameter definition. More...
#include <NvParameterized.h>
Public Member Functions | |
virtual | ~Hint () |
Destructor. | |
virtual const char * | name (void) const =0 |
Returns the name of the hint. | |
virtual DataType | type (void) const =0 |
Returns the type of the hint. | |
virtual uint64_t | asUInt (void) const =0 |
Returns the unsigned 64-bit value of the hint. | |
virtual double | asFloat (void) const =0 |
Returns the 64-bit floating point value of the hint. | |
virtual const char * | asString (void) const =0 |
Returns the const character pointer for hint. | |
virtual bool | setAsUInt (uint64_t v)=0 |
Set the value if the hint is a 64bit unsigned type. |
Detailed Description
Provides hints about the parameter definition.
- See also:
- Definition
Member Function Documentation
virtual double NvParameterized::Hint::asFloat | ( | void | ) | const [pure virtual] |
Returns the 64-bit floating point value of the hint.
- Note:
- Undefined results if the type != TYPE_FU64
virtual const char* NvParameterized::Hint::asString | ( | void | ) | const [pure virtual] |
Returns the const character pointer for hint.
- Note:
- Undefined results if the type != TYPE_STRING
virtual uint64_t NvParameterized::Hint::asUInt | ( | void | ) | const [pure virtual] |
Returns the unsigned 64-bit value of the hint.
- Note:
- Undefined results if the type != TYPE_U64
The documentation for this class was generated from the following file:
Generated on Fri Dec 15 2017 13:58:41
Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.