Pin
Public Member Functions | List of all members
LEVEL_BASE::KNOBVALUE< TYPE > Class Template Reference

Public Member Functions

STATIC TYPE FromString (const std::string &strvalue)
 
STATIC std::string ToString (const TYPE &value, const std::string &origString)
 
STATIC TYPE Accumulate (TYPE &lVal, const TYPE &rVal)
 
STATIC const std::string Type ()
 
const TYPE & Value () const
 
const std::string & ValueString () const
 
KNOBVALUENext () const
 
VOID Overwrite (const std::string &valstring)
 
VOID Accumulate (const std::string &valstring)
 
VOID Append (KNOBVALUE *next)
 
template<>
GLOBALTEMPLATEFUN BOOL Accumulate (BOOL &lVal, const BOOL &rVal)
 
template<>
std::string FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
BOOL FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
UINT32 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
INT32 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
UINT64 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
INT64 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
FLT32 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
FLT64 FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 
template<>
ADDRESS_RANGE FromString (const std::string &strvalue)
 
template<>
const std::string Type ()
 

Detailed Description

template<class TYPE>
class LEVEL_BASE::KNOBVALUE< TYPE >

typed and string representation a value

Interface requirements for TYPE:

Member Function Documentation

◆ Accumulate()

template<>
GLOBALTEMPLATEFUN BOOL LEVEL_BASE::KNOBVALUE< BOOL >::Accumulate ( BOOL &  lVal,
const BOOL &  rVal 
)
inline

Specialization of the Accumulate(TYPE &, const TYPE &) method for [TYPE=BOOL]. Implemented as logical OR of values.


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